Quick Nav:  Online Store   |   Login | Register

Using replacement rules

Rate this topic:

Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
AuthorMessages
SplatMan_DK
<100 Posts
Posts:81


02/13/2007 9:43 PM  
I want to start using the replacement rules and virtual path settings in PageBlaster for my DNN site and I have a question.

My original website was not based on a CMS but on hand-coded HTML and PHP files. That site is now offline. Many websites and forums on the internet has linked to pages on my old site, and these links are now broken because my DNN portal has a different file and navigational structure.

While it is possible to make virtual paths to a page, say "www.mysite.com/info/stuff", is it also possible to somehow handle a broken link, and "translate" it to a proper page?

Example:

I want the url "www.mysite.com/information.php" to be translated into a virtual path or a DNN page such as "www.mysite.com/info/stuff".

Is that possible in any way?

brgds

- Jesper


brgds

- Jesper
John Mitchell
Posts:3084


02/13/2007 9:50 PM  
Hi Jesper,

The only way to get a .php extension to be seen by the ASP.net framework is to map that extension in the settings of the IIS website, if I remember right, you have access to your website settings in IIS so this is possible.
SplatMan_DK
<100 Posts
Posts:81


02/13/2007 10:48 PM  
Ok, so i just open my IIS manager and enable the PHP file extension for the site?

Then what?



brgds

- Jesper
John Mitchell
Posts:3084


02/13/2007 11:48 PM  
Then you can make a virtual path with a .php extension point to one of your pages in DNN by giving it a virtual path.
SplatMan_DK
<100 Posts
Posts:81


02/14/2007 12:13 AM  
Mjeah, thats what I figured you were gonna answer. So I submitted a feature request for multiple virtual paths for a single page ... ;-)


brgds

- Jesper
John Mitchell
Posts:3084


02/14/2007 6:07 AM  
It's not usually a good idea to point more than one page at the same content for SEO, and the PageBlaster DNN module needs to have a way to keep people who are in the same DNN instance but possibly different DNN portals from overwriting each other's mappings, so you can only map one virtual path to a a single dynamic page.

You can override this now though. Just open the ResourceLocationTable.config file (located in /DesktopModules/Snapsis/PageBlaster/Config by default) and it the mappings directly.
Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
Forums >Snapsis Product Support >PageBlaster > Using replacement rules



ActiveForums 3.7
Powered by: Snapsis Software