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.
![]() Questions about learn PHP:
|
|




