Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
Thread: 301 redirect issue
02-07-2012, 04:53 PM #1
- Join Date
- Feb 2012
- Thanked 0 Times in 0 Posts
301 redirect issue
I’ve been trying to do a 301 redirect from the non www version to the www version of my website. I’ve tried the following two codes from a godaddy help article:
header("HTTP/1.1 301 Moved Permanently");
<script language="c#" runat="server">
private void Page_Load(object sender, System.EventArgs e)
Response.Status = "301 Moved Permanently";
Tried uploading first one, didn't work. Deleted it. Tried the next one and it didn't work. Deleted it too.
I’ve contacted Godaddy support but they will not offer any further help with the issue. My website is “padraigdarcy dot net” and of course I want to redirect to www dot “padraigdarcy dot net” – both currently return a HTTP/1.1 200 OK status.
Server IP Address: 126.96.36.199
OS/Hosting Type: Windows / Shared Hosting
.Net Runtime Version: ASP.Net 1.1
PHP Version: PHP 5.2
IIS Version: IIS 7.0
Thank you to anyone that can help with this issue.