Support Forums

 
  iFinity Support Forum  DotNetNuke Modu...  Url Master  Am I on the right track?
Previous Previous
 
Next Next
New Post 9/8/2008 11:47 PM
  mtarby
3 posts
No Ranking


Am I on the right track? 

We have a new DNN site that we're going to launch shortly.  We of course have the required links on the old site that need to redirect to spots in our new DNN site.  Am I correct in thinking that I can use URL Master to achieve this?   For example, I want to have oldsite.com/directoryname go to newDNNSite/tabid/451/Default.aspx

Sorry for the basic question, but I just wanted to make sure.

Thanks!

 
New Post 9/9/2008 7:38 AM
  Bruce Chapman
640 posts
1st Level Poster


Re: Am I on the right track? 

Yes, you should be able to achieve what you want to do, however, I'm not sure exactly what you're redirecting.

If you have oldsite.com/directoryname

and you want that to redirect to:

newsite.com/tabid/451/default.aspx

then you're not really using the full potential of the module.  The module will give you friendly urls, so you don't need to have a url of tabid/451/default.aspx, you should instead have a Url of newsite.com/newpagename.aspx

Now, if the previous Url was a directory, then you'll probably have to switch on the 'wildcard' extensions for IIS so that requests for old, directory based urls, will work correctly.  If this isn't the case (ie, it was really oldsite.com/directoryname/pagename.htm or something) you'll still need to make sure the the asp.net runtime is mapped in IIS to handle the page type of your old site (be it .htm, .asp, .php etc).  This is done in the IIS configuration for your site.

To redirect one domain name to another, you'll have to (1) set up the old domain name as a portal alias in your site as well as the new site and (2) add in the following attribute to the 'DNNFriendlyUrl' in the web.config file : usePortalAlias="0,www.newsite.com".  This will redirect the old domain name to the new domain name.  Of course, you'll have to make sure that the DNS entries for your old domain name point traffic at the site as well.

Hope this helps?

Bruce

 
New Post 9/10/2008 1:40 AM
  mtarby
3 posts
No Ranking


Re: Am I on the right track? 

Thanks - that does help.  And we are using it so we can utilize the friendly URL's.    I think the wildcard extensions will be the last piece - for instance, we had someone put together a print piece for us that references things like OurUrl/core where the dnn URL is /UNDERGRADUATE/CORECURRICULUM/tabid/520/Default.aspx

So I'm correct in thinking that I'd have to use a wildcard extension for that?

 
New Post 9/10/2008 9:05 PM
  Bruce Chapman
640 posts
1st Level Poster


Re: Am I on the right track? 

Wildcard extensions are applied to the entire site, you can't just apply them to one or two Urls.  However, if you enable wildcard extensions in IIS, you should be able to set up urls like you wish.  This site runs on wildcard extensions with extensionless Urls.

 
New Post 9/12/2008 2:03 AM
  mtarby
3 posts
No Ranking


Re: Am I on the right track? 

Do I do that as an ISAPI filter in IIS? 

 
Previous Previous
 
Next Next
  iFinity Support Forum  DotNetNuke Modu...  Url Master  Am I on the right track?
Can't find the answer?
 

If you can't find the answer and don't have time...try out the Premium Support service.  Get personal attention and get the problem fixed by an expert.

 

Support Guidelines.. Please read before posting

To get support on iFinity products and services, please search the forums for the the answer to the problem you are seeking. If you cannot find a solution, post a question in the relevant forum.   Ensure that you specify the relevant versions of the problem, and the actual error message or a detailed description of the problem.    You will need to register with this site to post on the forum.  If you have a Microsoft Live (Hotmail/Passport) account you can use that.  If you have a Open Id account you can use that.  If you neither of these, you will need to register a user Id and password.

If you wish, you can use the Premium Support Service for one-on-one support.