On a site I'm working on there will be about 7 different directories. I use DirectoryIndex
in my .htaccess
to point to index.php
, so you can go to site.com/menu/
or site.com/menu/index.php
and get the same content and so on for the other 6 directories.
I know duplicate content is supposed to be bad. Will this cause any SEO issues, or will search engines be smart enough to understand it's a DirectoryIndex
and only index the result once?
Using DirectoryIndex is a very common practice. If done right it isn't a problem. However it can introduce duplicate content.