Forum Moderators: phranque
But now I have made html page (becuase of SEO issue) named as index.htm
I have also edited .htaccess file so that first file will be displayed as index.htm and NOT index.php
Just to confirm that will this effect in seach engines, I want to have my site listed in Google.
Does Google or any other search engine understands this or will the penalise my site for having two index files on same place (root)
Welcome to Webmaster World.
As My PHPBB main file is index.php(I Have installed PHPBB on root of my site)
So now if I want to display first page as index.htm or something other and not PHPBB Forum.
What I did for this is :
I edited .htaccess
DirectoryIndex index.htm index.php
Now On Browsers first page that is opening is index.htm , which I wanted.
So my Question is : Is this OK with search engines?
OR If there are some issues, what are those.
Although having two index pages may not hurt you outright, because you are correct - they are not the same page... The simpler the better, and why take any risk with the difficulty of being re-indexed, compared to the ease of being removed from the index for a mistake?
Could get way off-topic, so I'll leave it there.
Anyway, just my thoughts.
Justin
There are no problems with Google or other SE's on this. They'll just index whatever URI you provide.
What you really should ask yourself is how you'd like to structure your website. You may find some good advice by the W3C at this page: [w3.org...] ~ this page being on topic for your question: [w3.org...]
If you decide to structure your website with directory only URI's, there's no point of having multiple index files within a directory, since the server only parses the first one specified in the DirectoryIndex code snippet of the .htaccess file.
The benefit of directory only URI's is the flexibility of changing the underlying technology without SE's having to reindex all of your URI's.