Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...301 redirect for moving from one portal to another301 redirect for moving from one portal to another
Previous
 
Next
New Post
3/25/2009 10:48 PM
 

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

 

 

 
New Post
3/27/2009 4:37 PM
 

Have you looked into iFinity's URL Master module? I've found it pretty feature-rich for handling 301 redirects and URL formatting.

http://www.snowcovered.com/Snowcovered2/Default.aspx?tabid=242&PackageID=10090


Wells Doty Jr
Online Content Development
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...301 redirect for moving from one portal to another301 redirect for moving from one portal to another


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out