Support Forums

 
  iFinity Support Forum  DotNetNuke Modu...  Url Master  wildcard url mapping
Previous Previous
 
Next Next
New Post 7/29/2008 9:03 PM
  John Henley
4 posts
No Ranking


wildcard url mapping 

I have about a hundred URLs I need to map from old HTML site to new DNN site, and have been evaluating URL Master as a quick way to deal with changed page names, which include the year and month, and of course have gone from .htm to .aspx.

Old format:

http://www.example.org/letter/archive/2008-01.htm
http://www.example.org/letter/archive/2006-02.htm

http://www.example.org/newsletter/2008/January2008.aspx
http://www.example.org/newsletter/2006/February2006.aspx

Other than the painful one-page-at-a-time mapping to the new pages, is there a way to accomplish this with URL master using RegEx or wildcards, etc.??

 
New Post 7/29/2008 10:00 PM
  Bruce Chapman
640 posts
1st Level Poster


Re: wildcard url mapping 

Hi John

Firstly, it's no problem to migrate from .htm to .aspx, although you will have to change some IIS settings and map the .htm extension to the ASP.NET runtime.

Secondly, the answer if you can do a bulk forwarding of your Urls is : it depends.  Is each of the redirections to a different DNN page in the new site?  Or, is the new  DNN page 'newsletters', and the 2008/january2008 a path to be added?

At the very least it is easy enough to write a Sql statement to insert the redirection statements directly into the tables which hold the redirection rules.

-Bruce

 
New Post 7/30/2008 1:59 AM
  John Henley
4 posts
No Ranking


Re: wildcard url mapping 

Since each newsletter monthly issue is a separate DNN page, I guess you're saying that each of theses page would require a row in the redirection table, correct?  In other words, each redirection happens based on an actual entry in a redirection table, not based on some type of dynamic mapping rule....?

 

 
New Post 7/30/2008 4:38 AM
  John Henley
4 posts
No Ranking


Re: wildcard url mapping 

 Bruce Chapman wrote

Firstly, it's no problem to migrate from .htm to .aspx, although you will have to change some IIS settings and map the .htm extension to the ASP.NET runtime.

Other than the IIS wildcard mapping to ASP.NET runtime, what "IIS settings" are you talking about?

 
New Post 7/30/2008 4:07 PM
  Bruce Chapman
640 posts
1st Level Poster


Re: wildcard url mapping 

Yes, there are no 'catch all' rules for redirects in the module at this stage.  If you've got a one-to-one mapping of the newsletter to DNN pages, then you'll need to create a new DNN page for each newsletter, and add a redirection for each of those pages.  

You can do this quickly yourself by creating a sql statement to insert into the ifty_TabRedirect table, or you can do it through the interface.

The colums you need to set are TabId, RedirectTabId - the same as the page you want to redirect to.  Url - the path section of the redirection you'd like to capture (ie newsletter/jan-08 or whatever the url you would like to intercept was.  The httpStatus column should read '301'.

The IIS settings are mapping .htm to the asp.net runtime  - you don't need to wildcard the extension if you don't need to, just map .htm and you'll be able to redirect.

 

 
Previous Previous
 
Next Next
  iFinity Support Forum  DotNetNuke Modu...  Url Master  wildcard url mapping
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.