My sites user login page .com/login says: The requested URL /login was not found on this server. But when i type in .com/login.php "using .php" it shows the login page and i can login, this is the same for all the pages that avaliable when loggedin, I checked my root and theres no directory for login, i created a login directory but i dont no what files i have to put in it or what i need to do to sort this problem. Other pages a fine, its just the pages when loggedin Also this is a problem i have to sort my self, so i need some help on how to do this. Thank You
i am with godaddy, i have Deluxe hosting on this page, http://www.godaddy.com/hosting/web-hosting.aspx?ci=9009 i will get the file now
here the htaccess file <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^profile/(.*)/(.*) profile.php?id=$1&name=$2 RewriteRule ^confirmemail/(.*) confirmemail.php?code=$1 RewriteRule ^resetpassword/(.*) resetpassword.php?code=$1 RewriteRule ^resendconfirmation/(.*) resendconfirmation.php?userid=$1 RewriteRule ^login$ login.php RewriteRule ^signup$ register.php RewriteRule ^logout$ logout.php RewriteRule ^home$ home.php RewriteRule ^update$ viewupdate.php RewriteRule ^updates$ viewupdates.php RewriteRule ^followers$ viewfollowers.php RewriteRule ^following$ viewfollowing.php RewriteRule ^inbox$ inbox.php RewriteRule ^explore$ recentupdates.php RewriteRule ^community$ newmembers.php RewriteRule ^myprofile$ myprofile.php RewriteRule ^design$ design.php RewriteRule ^privacy$ privacy.php RewriteRule ^alerts$ alerts.php RewriteRule ^search$ search.php RewriteRule ^searchmembers$ searchchannels.php RewriteRule ^searchupdates$ searchupdates.php RewriteRule ^forgot$ forgot.php RewriteRule ^rss$ rss_updates.php RewriteRule ^invite$ invite_friends.php </IfModule> <IfModule mod_security.c> # Turn off mod_security filtering. SecFilterEngine Off # The below probably isn't needed, # but better safe than sorry. SecFilterScanPOST Off </IfModule>
Try this : <IfModule mod_rewrite.c> Options +FollowSymLinks RewriteEngine on RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^profile/(.*)/(.*) profile.php?id=$1&name=$2 RewriteRule ^confirmemail/(.*) confirmemail.php?code=$1 RewriteRule ^resetpassword/(.*) resetpassword.php?code=$1 RewriteRule ^resendconfirmation/(.*) resendconfirmation.php?userid=$1 RewriteRule ^login$ login.php RewriteRule ^signup$ register.php RewriteRule ^logout$ logout.php RewriteRule ^home$ home.php RewriteRule ^update$ viewupdate.php RewriteRule ^updates$ viewupdates.php RewriteRule ^followers$ viewfollowers.php RewriteRule ^following$ viewfollowing.php RewriteRule ^inbox$ inbox.php RewriteRule ^explore$ recentupdates.php RewriteRule ^community$ newmembers.php RewriteRule ^myprofile$ myprofile.php RewriteRule ^design$ design.php RewriteRule ^privacy$ privacy.php RewriteRule ^alerts$ alerts.php RewriteRule ^search$ search.php RewriteRule ^searchmembers$ searchchannels.php RewriteRule ^searchupdates$ searchupdates.php RewriteRule ^forgot$ forgot.php RewriteRule ^rss$ rss_updates.php RewriteRule ^invite$ invite_friends.php </IfModule> <IfModule mod_security.c> # Turn off mod_security filtering. SecFilterEngine Off # The below probably isn't needed, # but better safe than sorry. SecFilterScanPOST Off </IfModule> Code (markup): Or this one without the <if condition Options +FollowSymLinks RewriteEngine on RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^profile/(.*)/(.*) profile.php?id=$1&name=$2 RewriteRule ^confirmemail/(.*) confirmemail.php?code=$1 RewriteRule ^resetpassword/(.*) resetpassword.php?code=$1 RewriteRule ^resendconfirmation/(.*) resendconfirmation.php?userid=$1 RewriteRule ^login$ login.php RewriteRule ^signup$ register.php RewriteRule ^logout$ logout.php RewriteRule ^home$ home.php RewriteRule ^update$ viewupdate.php RewriteRule ^updates$ viewupdates.php RewriteRule ^followers$ viewfollowers.php RewriteRule ^following$ viewfollowing.php RewriteRule ^inbox$ inbox.php RewriteRule ^explore$ recentupdates.php RewriteRule ^community$ newmembers.php RewriteRule ^myprofile$ myprofile.php RewriteRule ^design$ design.php RewriteRule ^privacy$ privacy.php RewriteRule ^alerts$ alerts.php RewriteRule ^search$ search.php RewriteRule ^searchmembers$ searchchannels.php RewriteRule ^searchupdates$ searchupdates.php RewriteRule ^forgot$ forgot.php RewriteRule ^rss$ rss_updates.php RewriteRule ^invite$ invite_friends.php <IfModule mod_security.c> # Turn off mod_security filtering. SecFilterEngine Off # The below probably isn't needed, # but better safe than sorry. SecFilterScanPOST Off </IfModule> Code (markup):