301 Redirect on page code

by David Naylor
Bronco - Digital Marketing Agency

301 Redirect

301 redirection and the Search Engines. It’s really not that hard to implement and it should help your search engine rankings when move sites or pages that where listed in the search engine

The Search Engines see the “301” Has “moved permanently”.

301 Redirect in ColdFusion
<.cfheader statuscode="301" statustext="Moved permanently">
<.cfheader name="Location" value="http://www.new-site.com">

301 Redirect in PHP
Header( "HTTP/1.1 301 Moved Permanently" );
Header( "Location: http://www.new-site.com" );

301 Redirect in ASP
<%@ Language=VBScript %>
Response.Status="301 Moved Permanently"
Response.AddHeader "Location", " http://www.new-site.com"

301 Redirect in ASP .NET
<script runat="server">
private void Page_Load(object sender, System.EventArgs e)
Response.Status = "301 Moved Permanently";

hope thats helps


Bronco - Digital Marketing Agency
Making your inbox more interesting
Looking to keep up to date, or find out those things we can’t mention on the blog? Then sign up to our semi-regular newsletter. Don’t worry, we won’t spam you.


Get in Touch

Things are better when they’re made simpler. That’s why the David Naylor blog is now just that; a blog. No sales pages, no contact form - just interesting* info about SEO.

If you’d like to find out more about the Digital Marketing services we do provide then head over to Bronco (our main company website) to get in touch.

Get in Touch Today * Interestingness not guaranteed
Part of the Bronco family