perezf Posted May 29, 2007 Share Posted May 29, 2007 i have an issue with my htaccess right now im using mod rewrites on my website the only problem is when a user clicks on a page and then erases the www part from the url it displays the php part with an exta foward slash making all the rest of the pages un-accessible for instance http://www.xclusivedesigners.com then when you click on home it shows http://www.xclusivedesigners.com/index.html when you erase the www from the url it shows http://www.xclusivedesigners.com//?page=home can someone help me fix it ------------------------------------- #SEO Rules Options +FollowSymLinks RewriteEngine On RewriteRule ^index.html /index.php?page=home RewriteRule ^ourservices.html /index.php?page=ourservices RewriteRule ^aboutus.html /index.php?page=aboutus RewriteRule ^portfolio.html /index.php?page=portfolio RewriteRule ^affiliates.html /index.php?page=affiliates RewriteRule ^contactus.html /index.php?page=contactus RewriteRule ^xclusiveplans.html /index.php?page=xclusiveplans Options -Indexes rewritecond %{http_host} ^xclusivedesigners.com [nc] rewriterule ^(.*)$ (URL address blocked: See forum rules) [r=301,nc] Link to comment https://forums.phpfreaks.com/topic/53415-htaccess-issue/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.