Posts: 487
Name: Abel Mohler
Location: Asheville, North Carolina USA
|
I have a client that I am helping orient into a new design, and rewriting his entire site. In the process, we changed the names of several pages to better reflect site content. Unfortunately we then discovered that his host did not have .htaccess support, although it is an Apache site.
I did some research, and came up with this:
PHP Code:
<?php // Permanent redirection header("HTTP/1.1 301 Moved Permanently"); header("Location: http://www.somacon.com/"); exit(); ?>
Is there anything I need to know about using this method, and will it work exactly like doing a 301 redirect via .htaccess?
This is a very important question for this particular website, as the site gets a significant amount of traffic from Google, and we don't want it to be affected negatively.
Thank you in advance.
|