Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Which URL Is My Homepage?


ricksterp

Recommended Posts

Hi,

 

A friend has just set up the template of a website for me and i am now trying to optimize it for search engines etc.

 

I am a complete novice but have managed to get it working and Meta'd up.

 

When i view the homepage via a spider simulator my homepage of www.sweetcart.co.uk does not have a title or description etc. If i use www.sweetcart.co.uk/index.php it has all of the above.

 

Is this correct or do i need to do something else?

 

Thankyou

Link to comment
Share on other sites

Try adding

 

RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/ 
RewriteRule ^index\.php$ http://www.sweetcart.co.uk/ [R=301,L]

 

to your root htaccess. file

 

customers will only see www.********.co.uk

Link to comment
Share on other sites

Try adding

 

RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/ 
RewriteRule ^index\.php$ http://www.sweetcart.co.uk/ [R=301,L]

 

to your root htaccess. file

 

customers will only see www.********.co.uk

 

Hi, Sorry to appear naive, but where is the root htaccess file.

 

Will this link the 2 URl's?

 

Mark

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...