You are viewing the tag: redirect
Changing to a new domain?
November 4, 2008
Warning: count(): Parameter must be an array or an object that implements Countable in /homepages/32/d235002429/htdocs/techbyblog/wp-includes/class-wp-comment-query.php on line 405
Warning: count(): Parameter must be an array or an object that implements Countable in /homepages/32/d235002429/htdocs/techbyblog/wp-includes/class-wp-comment-query.php on line 405
No Comments
Warning: count(): Parameter must be an array or an object that implements Countable in /homepages/32/d235002429/htdocs/techbyblog/wp-includes/class-wp-comment-query.php on line 405
Warning: count(): Parameter must be an array or an object that implements Countable in /homepages/32/d235002429/htdocs/techbyblog/wp-includes/class-wp-comment-query.php on line 405
No Comments
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’] != “www.your-new-domain-here.com“){ header( “HTTP/1.1 301 […]