View Single Post
  #1 (permalink)  
Old 09-30-2008, 12:48 PM
aidan6969 aidan6969 is offline
WebProWorld Member
 
Join Date: Nov 2006
Location: Toronto
Posts: 34
aidan6969 RepRank 0
Default 301 Redirect for .aspx pages

I'm moving to a new joomla site tomorrow and I want to put 301 redirects on some of my highest ranking pages from my current .aspx site.

Here's my problem. I've found two scripts online that should work but don't:
ASP Redirect
<%@ Language=VBScript %>
<%
Response.Status="301 Moved Permanently"
Response.AddHeader "Location","http://www.new-url.com/"
%>

ASP .NET Redirect
<script runat="server">
private void Page_Load(object sender, System.EventArgs e)
{
Response.Status = "301 Moved Permanently";
Response.AddHeader("Location","http://www.new-url.com");
}
</script>

You can view a sample page I'd like to redirect here:

Leadership Articles | Organizational Improvement | Customer Service and Satisfaction redirecting to
Jim Clemmer - Free Articles/Excerpts

Any suggestions are appreciated.

Cheers,
Aidan
Reply With Quote