CodeIgniter Forums
controlling requests to / - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: controlling requests to / (/thread-10422.html)



controlling requests to / - El Forum - 07-30-2008

[eluser]Unknown[/eluser]
Hi,

I am successfully using the suggested .htaccess from the User Guide, plus the config directive to rewrite urls to various .html ones, however it also allows requests to the root '/' to display the home page (home.html).

This is not good for SEO as google will believe that there are 2 pages with the same content.

I would rather not redirect as I'm not sure that's good for SEO, can anyone suggest another solution?

many thanks.