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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...how to conver urlhow to conver url's from classic index.asp to dotnetnuke default.aspx?
Previous
 
Next
New Post
1/6/2008 9:48 AM
 

Anytime you switch domains using a rewrite rule in SiteUrls.config it does a 302 redirect which is not good for SEO.

None of the solutions offered earlier will direct a classic .asp page to your new default.aspx.

There is detailed information in the following thread about what you are wanting to do.  You will need an ISAPI filter like ISAPIRewrite to change links from classic asp to the default.aspx

http://www.snapsis.com/DotNetNuke/Support/tabid/560/forumid/12/postid/5428/view/topic/301-Redirect-for-multiple-host-names.aspx


DotNetNuke Modules from Snapsis.com
 
New Post
1/7/2008 2:03 PM
 

Store Integrator wrote
www.tennisplanet.com  is currently in use and build in classic asp. However, now we have running www.tennisplanet2007.com. It seems to run stable, so we want to start using the actual url: www.tennisplanet.com. Since SSL is used, I will install new certificate, but I have the idea that by leaving the portal alias www.tennisplanet2007.com the SSL will not work. It will work, but in SSL mode not. Is there a way to configure DNN so that www.tennisplanet2007.com becomes automatically www.tennisplanet.com ? A kind of HTTP filter doing this conversion would be great?

The fix for can be done with my first suggestion.

1) Point www.tennisplanet.com  to the same IP as www.tennisplanet2007.com.
2) Add www.tennisplanet.com to the alias table (login as host and under admin/portal settings you can update the alias table).
3) Access the site using the new URL www.tennisplanet.com and delete www.tennisplanet2007.com from the alias table.
4) Now access the site using the www.tennisplanet2007.com URL and you will be redirect to thet www.tennisplanet2007.com URL since that is the only URK in the alias table.

* If you want you can skip step #3 and then both URL's will access the same site.

** You can see this work with a site I have http://savingourboys.org. I also have the .com and .net URL for the same site poitning to the same IP address but not matter whether you enter http://savingourboys.com or http://savingourboys.net you are always sent to http://savingourboys.org

Store Integrator wrote
Second issue is about classic asp. Links are like,www.tennisplanet.com/index.asp  . How can I configure DNN or IIS to keep all those links working if I have www.tennisplanet.com/default.aspx ?

I am assuming that the links you are talkling about are embedded links in the content that were migrated to the new DNN site (example: Static content migrated using the HTML/Text module, etc.  If that is the case, you can use the module blogged about here to do a search and replace in all your HTML/Text modules. If not, can you please describe more about these links?

 

 
New Post
1/23/2008 7:07 PM
 

Thank you for all support.

1. I have configured IIS to redirect from www.tennisplanet2007.com to www.tennisplanet.com I believe this is called a permanent redirect 303? Is that oke for SEO? Or is the 302 not good for SEO?

2. The other question about ASP.Classic where old indexed pages have to be redirected to the DNN platform. I created a custom error handler. But it seems that for some undefined reason it logs users out. The custom error handler was set for the 404 errors. So www.tennisplanet.com/index.asp would become www.tennisplanet.com

 

 
New Post
3/26/2008 4:33 PM
 

I finally created an index.asp file that does a redirect. I think that is not good for SEO. But the fastest way I believe.

 
New Post
3/26/2008 9:45 PM
 

You can do a 301 redirect (good for SEO) in classic ASP like this:

 


<%
Response.Status="301 Moved Permanently"
Response.AddHeader "Location", "/new-page.asp"
%>

 


DotNetNuke Modules from Snapsis.com
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...how to conver urlhow to conver url's from classic index.asp to dotnetnuke default.aspx?


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