简体   繁体   中英

404 Url not found and page not found error php

Hello Friends I have uploaded one project on server, I am getting this error page not found and url not found, and .htaccess file is not uploading on server I checked teampage is there on server but still i am getting Url not found and 404 not found error.

please suggest something..here i have attached screenshot

在此处输入图片说明

If teampage is there on the server, does it have an extension? If it does, you should be using teampage.html or teampage.php or whatever it is. And avoid the trailing slash you have in the url as well.

EDIT

The actual problem OP had was with updating .htaccess which was resolved by using cPanel to update it.

If teampage is really teampage.php, then you can access the file using:

sportwitter.techiva.com/teampage.php?tn=ARIZONA CARDINALS

If teampage is a folder and you are attempting to access index.php or some other file within the teampage folder, then you need to specifically list index.php in the url.

sportwitter.techiva.com/teampage/index.php?tn=ARIZONA CARDINALS

If this is a pretty url thing, make sure you have URL rewrite enabled on your server. Upload a file "info.php" with the following code:

<?php echo phpinfo(); ?>

Go to sportwitter.techiva.com/info.php on your website. Look for rewrite module in the modules enabled section. If it's not enabled, then you can usually enable it within your .htaccess file

RewriteEngine On

Make sure and delete "info.php" from your server as soon as you find out what you need to know.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM