You are here: Re: redirect / new website how to redirect old (google) links to new site ? « PHP Programming Language « IT news, forums, messages
Re: redirect / new website how to redirect old (google) links to new site ?

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
==================

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация