Re: Re: Apache redirect

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In message <f2gpkk+6vmi@xxxxxxxxxxx>, vanila2000 <vanila2000@xxxxxxxxx>
writes
>Pl. put this code in your index.html file in the Apache Document Root 
>directory. 
>
><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
><html>
>
><head>
><meta http-equiv="refresh" content="0; url="url to which you want to 
>redirect goes here">
></head>
><body bgcolor="grey">
><font color="Navy">
>You are being redirected to HOME PAGE. Please follow the links there.
></font>
>
></html>
>
>This will automatically redirect the page to the new url.

But it will only redirect.  What you want is a 301, which "invisibly"
says to all search engines and visitors "This page has moved
permanently"

How you do it, would depend on various factors, depending on whether you
have changed the site layout or not, and whether your internal pages are
visited and listed in search engines - they usually are!

There will probably be a simple method to do it in a .htaccess file in
the root directory of the old site.

This method will keep your Page Rank, etc., and will be picked up by
most search engines.  The redirect does not do this, and should normally
only be used in temporary URL changes.

-- 
Pete Clark

Sunny Andalucia
http://www.hotcosta.com/comm_1.htm

[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux