Forum Moderators: Robert Charlton & goodroi
I am already using the following in htaccess to rewrite index.html and index.php to /
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /([^/]+/)*(default¦index)\.(php(4¦5)?¦html?¦cfm¦aspx?)\ HTTP/
RewriteRule ^(([^/]+/)*)(default¦index)\.(php(4¦5)?¦html?¦cfm¦aspx?)$ http://www.example.com/$1 [R=301,L]
I want to do this to my biggest money site which has great rankings, therefore I am very cautious about any changes.
Is the googlebot going to be able to detect the change?
[edited by: tedster at 2:09 am (utc) on April 19, 2009]
[edit reason] switch to example.com - it cannot be owned [/edit]
However, you can set a server to parse php script within the page's source code - even though the extension remains .html. That's an issue that has come up a couple thousand times in our PHP forum [google.com], and taking that approach would make your whole concern evaporate.