Jump to content

htaccess issue


perezf

Recommended Posts

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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.