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
12/19/2007 6:11 PM
 

Hi,

I have next problems with old (non dnn website) conversion:

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?

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 ?

Any help appreciated.

S.I.

 
New Post
1/6/2008 12:18 AM
 

Point both sites to the same IP and then delete the www.tennisplanet2007.com alias from the alias table.  To do this access the site using the www.tennisplanet.com URL.  Once you have deleted the www.tennisplanet2007.com alias, try to access the site using the www.tennisplanet2007.com URL.  You should be sent tot eh www.tennisplanet.com URL.  This works becuase if DNN cannot find a match in the alias table for URK used to access site, DNN directs the user to the first alias setup for the site.  I use this all the time for sites I setup that I own multiple domains (.net, .com and .org).  I just put one entry in for the site and all request use the main URL no matter if they try to access the site using the .com, .org or .net URL.

 
New Post
1/6/2008 3:39 AM
 

The file siteurls.config is what you are looking for.  It is also managed on the Host Settings page under "Friendly URL Settings".

This file uses regex to manipulate page requests... so you can do just about anything with it that you want if you can get a proper regex string.  I imagine you are looking for something similar to:

    <RewriterRule>
      <LookFor>(.*)tennisplanet2007.com(.*)</LookFor>
      <SendTo>$1tennisplanet$2</SendTo>
    </RewriterRule>

This should successfully convert any link from the one domain to another (BOTH aliases need to be valid in your list).  So...

http://www.tennisplanet2007.com/fr/tabid/890/Cc/SS/St/0/Chaussures/Default.aspx would become:
http://www.tennisplanet.com/fr/tabid/890/Cc/SS/St/0/Chaussures/Default.aspx (will take care of https also)

If you run this as a test, you will notice that you do not appear logged in when the switch occurs... this is because of cookies.  But this should not be a problem in production as you will never login under tennisplanet2007 again.

Cheers


Scott Willhite, Co-Founder DNN

"It is only with the heart that one can see rightly... what is essential is invisible to the eye. "
~ Antoine de Saint-Exupéry

 
New Post
1/6/2008 4:04 AM
 

Scott,

what are the SEO implications of your solution? are pages indexed for both domains or do search engines get to know about the mapping and map links pointing to tennisplanet2007 to tennisplanet URLs as well?


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
1/6/2008 5:02 AM
 

There is nothing special being done here to attend to SEO implications.  It is a straight translation from one url to the other peformed by the http handler.  Since the handler is not smart enough to understand the nature of the translation, it does not do anything like send back a 302.  It might be an interesting modification to the handler, however, to add this as an option for each translation configured.


Scott Willhite, Co-Founder DNN

"It is only with the heart that one can see rightly... what is essential is invisible to the eye. "
~ Antoine de Saint-Exupéry

 
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