Products » Support Forums 

Support Forums

HomeHomeDotNetNuke Modu...DotNetNuke Modu...Url MasterUrl MasterRedirecting Terms.htm to terms.aspxRedirecting Terms.htm to terms.aspx
Previous
 
Next
New Post
3/10/2010 5:30 AM
 

I have an old .htm based site that is being converted to DNN.

Whilst I can map most of the old .htm pages to the new aspx ones I cannot find a way to do the same with the old Privacy and Terms pages.  In the PageURLs module the DNN versions of these don't appear.

How do I map these pages?

TIA

Antony

 
New Post
3/10/2010 1:16 PM
 

Tricky question.  Because they are built-in Urls, they can't be replaced or redirected, as you have found out.  Perhaps I should look at this in the future.

It's possible to work around this with a custom rule.  Let me know what the original urls look like and I'll see what I can do.  How's your regex understanding?

 
New Post
3/10/2010 11:46 PM
 

I can get it working by creating a page and redirecting that to the privacy page and similar with the terms page then use the page URLs rewrite module to redirect to the dummy pages which then redirect to the built-in URLs but itd a bit messy.

The old URLs look like http://example.com/etc/terms.htm and http://example.com/etc/privacy.htm.  'example.com' could be 1 of 8 domains.

My regex understanding is very basic.

 
New Post
3/11/2010 12:51 AM
 

I sent you an email with some instructions - please try these out and see if it works or not.

 
New Post
3/11/2010 5:47 AM
 

Excellent All works great.

Thanks

 
Previous
 
Next
HomeHomeDotNetNuke Modu...DotNetNuke Modu...Url MasterUrl MasterRedirecting Terms.htm to terms.aspxRedirecting Terms.htm to terms.aspx


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.

Please note : If you are posting a new thread for the Url Master module, please include the following information where applicable:

- Url Master version

- DotNetNuke version

- Example Url where possible

- If there is an error, please post the full error text and/or stack trace (from the DotNetNuke event log).