badboo Posted February 23, 2005 Share Posted February 23, 2005 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 More sharing options...
FalseDawn Posted February 23, 2005 Share Posted February 23, 2005 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 More sharing options...
badboo Posted February 23, 2005 Author Share Posted February 23, 2005 Alrighty then. For testing I removed the index.html file from the root and the index.php still didn't get picked up :-" so I dunno. Well I might ifure it out sometime... Link to comment Share on other sites More sharing options...
1Putts Posted February 23, 2005 Share Posted February 23, 2005 In your webserver config files (httpd.conf for example), have you included index.php as a valid directory index extension? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.