Posted 04 May 2010 - 02:30 PM
and this is good.
But if I go to
I get the same pages too. And that's not so good (duplicate content in google). What is the best way to resolve this issue?
Posted 04 May 2010 - 02:55 PM
if you don't have anywhere a link to ex. example.com/index.php?r=city/index, then how would google even find that out...
i conducted a small experiment -- i had a website with no incoming links at all (0 incoming links), and i visited it few times with browser with google toolbar... it was sufficient to get it indexed.
i don't think so, that someone will visit directly "example.com/index.php?r=city/index" but "example.com/index.php" is quite possible (eg. someone is just curious if this great site is made with php)).
what is the best way to hide "index.php" from user? naive use of .htaccess could lead to 301 rediraction circle.
Posted 04 May 2010 - 03:21 PM
Posted 04 May 2010 - 04:22 PM
i made it already -- urlmanager generates url without index.php, but still if i write "example.com/index.php" i get my homepage. one should rather change something in .htaccess and most probaly also somewhere else.