index.php duplicate content |
[eluser]Unknown[/eluser]
Hello, I need some help in redirecting http://[MySite]/index.php to http://[MySite]/ I don't want to have index.php as a page to prevent duplicate content. I've tried what was suggested on: http://ellislab.com/forums/viewthread/132758/ but then I get redirect loop and the site wont load Any suggestions? Thanks Ram
[eluser]CroNiX[/eluser]
Simple, never link to index.php (just link to your base url for home page) and no search engine will know it exists, so there won't be any duplicate content. It doesn't matter if two URLs can show the same content if there are only links available for one of them.
[eluser]Egill Th[/eluser]
[quote author="rammukmel" date="1344892638"]Hello, I need some help in redirecting http://[MySite]/index.php to http://[MySite]/ I don't want to have index.php as a page to prevent duplicate content. I've tried what was suggested on: http://ellislab.com/forums/viewthread/132758/ but then I get redirect loop and the site wont load Any suggestions? Thanks Ram[/quote] Enable mod_rewrite and add a .htaccess file to the directory that contains your front controller. (index.php) Code: <IfModule mod_rewrite.c> |
Welcome Guest, Not a member yet? Register Sign In |