When redesigning a website or adding / removing pages it is important that any old URLs are forwarded on correctly so that users are not left with dead links and search engine spiders scanning your site do not penalise you for non working links.
So how do you forward on pages in a way that works correctly for search engines as well as users?
<?php header (“http/1.1 301 Moved Permanently”); header (“Location: http://www.domain.com”); ?>
[code]<meta http-equiv=”Refresh” content=”5”; url=http://www.developerdrive.com/”>[/code]
With all of these redirects the important thing to remember is not to try and trick the search engines as if you get found out (and you will) they will penalise your site as a result
Blog post by Alex Wells
Working as a Website developer I love nothing more then working waist deep in code, I have specific interests in PHP and WordPress development but mostly working with local businesses to provide them with a website that meets their needs. Contact me if you have a project in mind and would like to get an input from an experienced website developer.