Posted by Jerry Stuckle on 11/07/06 16:46
Michael Fesser wrote:
> .oO(John)
>
>
>>I updated a site and changed the file extensions from .html to .php.
>
>
> Read
>
> Cool URIs don't change
> http://www.w3.org/Provider/Style/URI
>
>
>>Now i noticed that the google does find the old .html pages but since
>>they're not there anymore... they can't be found.
>>
>>Are there any way of (easily, without messing the site ;)) redirecting
>>those links to the main site?
>
>
> Don't redirect. Configure your server to parse .html files for PHP.
>
> Micha
It's unnecessary overhead to parse static html files for PHP code. Now
what if you also want server side includes? And maybe another language
or two? A 301 redirect is recognized by all search engines and they
will replace the old URL with the new one.
New users will get the new URI and old ones will get redirected (and
most will also quickly learn the new URI).
After a period of time, you can replace the 301 redirect with another
page which indicates "The page has moved...". That way the few
left-over people who haven't change the URI will do so.
And BTW - I wouldn't classify a URI as "cool" just because it had an
html extension.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
[Back to original message]
|