Question on URLs and google
Posted: Thu Jul 14, 2011 4:21 pm
So, somehow it came to pass that about half my urls were like www.example.com/index.php?/archive/entry-name.html and the other (older) half were like www.example.com/archive/entry-name.html
URL rewriting was disabled, so i enabled it again and now all entries are like www.example.com/archive/entry-name.html without the index.php?
So far so good. But here is my question. Within my entries, I have linked to some pages using index.php? and some without it. Also, the google sitemap plugin creates my sitemap using index.php? within the URL.
From a usability perspective, it doesn't matter. However, I am wondering if google will be unhappy having multiple calls to the same website. And secondly, could I just make an .htaccess rule that strips the index.php? from the URLs that use it? What might that look like?
URL rewriting was disabled, so i enabled it again and now all entries are like www.example.com/archive/entry-name.html without the index.php?
So far so good. But here is my question. Within my entries, I have linked to some pages using index.php? and some without it. Also, the google sitemap plugin creates my sitemap using index.php? within the URL.
From a usability perspective, it doesn't matter. However, I am wondering if google will be unhappy having multiple calls to the same website. And secondly, could I just make an .htaccess rule that strips the index.php? from the URLs that use it? What might that look like?