...Beauty, cleaning, DIY tips and more - free to join!
   Login   Contact us   Site map   Puzzle Club   Ask a question    Newsletter

How To Re-direct A Page And Keep Pagerank

Computing : Learning PHP

If you move your web pages from one location to another, then clearly you will want traffic that would have gone to the old pages to be transferred across to the new.

Otherwise you will have to start all over again trying to build traffic up to your webpages.

So how can you do this?

Well the good news is that it is easy.

You simply use a 301 page re-direct which is the http status code for a permanent move of location, and simply add in the new URL into the header code.

Of course you can use the PHP header() tag to set any status code as applicable; if you simply want to show that a page has gone without a 404 so that it is perhaps removed more quickly from indexes for instance, then simply set a 410: gone.


By: Stephen

Share on Facebook: On Twitter: TwitterTweet this!

  Reply to How To Re-direct A Page And Keep Pagerank

  Receive Our Newsletter




Questions about learn PHP:

Ask question

More Articles:
Your mailing list: the key decision
How to split an MPEG, AVI
How to remove the blue image border