You are viewing the tag: search engines

Changing to a new domain?

If you are moving your site to a new domain name and want to redirect all your current traffic as well as inform all of the search engines as they crawel your site of the move to the new, you can place the following code in your main include file or each file individually. if($_SERVER[‘HTTP_HOST’] != ““){   header( “HTTP/1.1 301 […]