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


Profile image!
By: Stephen

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

  Receive Our Newsletter

learn PHP picture



Questions about learn PHP:

Ask question

More Articles:
Your only chance of e-business success
Is it worth paying for search engine optimisation
How to never buy a computer