OK, I'm hosting on Godaddy and have been hosting there for about two years. I only have one site, so not being able to install at the root and have mutliple portals wasn't an issue. I wanted cheap! Godaddy just (as far as I can tell) made it so the newer installs of dnn actually have an upgrade feature even if you install them using their automatic install on metropolis. Sooooo... I wanted to get off 4.5 and move to a newer dnn version. My hosting package has two databases so I used my second database to install the new dnn 4.8 something from scratch. I then reworked the site from scratch (it needed it) and made it live with a metarefresh since I can't seem to get 301s to work.
My base url is www.JessicaProuty.com
The old 4.5 is www.JessicaProuty.com/jphome/
The new 4.8 is www.JessicaProuty.com/jpband/
I put the following file jphome.aspx at the root (well, my hosting package root on a shared server) and also in the jphome directory.
private void Page_Load(object sender, System.EventArgs e)
{
Response.Status = "301 Moved Permanently";
Response.AddHeader("Location","http://www.JessicaProuty.com/jpband/");
}
This is what Godaddy, I think, tells me to do off of this help page:
http://help.godaddy.com/article/234?
Note: It doesn't say to put the <script runat="server"> and </script> in the file either.
What am I doing wrong?
And this is the metarefresh that I have now..
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="refresh" content="0;url=jpband/">
</head>
<body>
</body>
</html>
Thanks for any help!
Katherine