Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

redirect...?


badboo

Recommended Posts

Hi,

I installed OSC into the root directory so NO catalog folder. Still though my browser wouldn't load the index.php automatically. It just picks up on html files god knows why. I didn't have the time to bother with that flaw so I read on the board that a htaccess file with this in it:

redirect 301 /index.html http://www...
would help me out of this. (The first version of my website was in HTML and got indexed well - so I redirected from the old index.HTML to the new index.php). Ever since by checking search engines for correctly indexing my site I get the feeling that this is not really working out for the spiders and bots. <_<

 

Please tell me if a 303 htaccess redirect is ok or not or why the heck my browser doesn't pick up on the index.php in the first place! :huh:

 

Thanks in advance!

Link to comment
Share on other sites

A redirect using .htaccess is fine - the redirect occurs in the web engine itself, so a bot is not even aware of it.

 

However, it should be unneccesary - index.php should get picked up by default. Do you also have an index.htm file in this directory? You should have one or another, but not both.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...