Forum Moderators: open
1. Configure your server to parse .html files for PHP scripting.
2. Configure your server to rewrite /a/b.html to /a/b.php internally (no HTTP redirection)
3. Redirect (HTTP 301) and hope that Google does the right thing (usually it does, but not always)
4. Leave the duplicates and hope that Google will merge the listings with the .php addresses
5. Update the .html pages to be just a link to the .php pages.
Personally, I'd prefer 1 or 2, as the others are messy and may be problematic depending on Google's whim at the time.
Tim B-L famously told us all that "Cool URIs don't change" and of course he was right. killroy wrote a nice description [webmasterworld.com] aftyer he "got it".
Actually Google really seems to like them. However, be warned if you are using lots of variables after a "?". This is what Google does not like so much. You should be fine with just one variable, and at a push two.
filename.php (fine)
filename.php?name=1 (fine)
filename.php?name=1&var=23 (should be ok)
filename.php?name=1&var=23&id=456 (be prepared for bad results with 3+ variables.)
But why hide the fact you're using php from Google at all?
It is the easiest and most straight forward solution to
northweb's problem.
Actually Google really seems to like them. However, be warned if you are using lots of variables after a "?". This is what Google does not like so much. You should be fine with just one variable, and at a push two.
Yeah, but Google and the other engines prefer a static looking uri. With some simple URL rewriting you could make this scary URI:
[gizmos.com...]
look like eg:
[gizmos.com...]
In my experice static looking URIs always get a SERP boost.