Forums

Registration

Click here to register. Registration is required if you want to post to the forums.

If you register, we can also contact you with news on new module versions, and upgrades to new modules as we make them available. 

Use of your registration information is subject to our privacy policy.

Inventua Forums

Subject: HRef Exchanger and DotNetNuke 5.1.1
Prev Next
You are not authorized to post a reply.

Author Messages
Glen Kowalski
Posts:1

14 Aug 2009 10:52 AM  

I have recently installed the 5.0 version of the HRef Exchanger.  The exchanger appears to be working now in that it replaces my URLs with My_Test_Page.aspx the way I would expect them to. 

They do not however replace the path the way the existing  DotNetNuke 5.0 Friendly URL's feature does.

Ie. Path/MyTestPage.aspx.

Also, and more concerning is that every time I click on the friendly URL that the HRef Exchanger generates, I am re-routed back to my home page.

The first behavior (Not having the path) I could live with.

I would just use the DotNetNuke Friendly URL, except I like that you replace the spaces with hyphens.

Is there any solution for this?  Is there something I am doing wrong?  Like I said, it appears that everything is configured because I am getting "-" instead of spaces in my names when I turn off the DotNetNuke friendly URL Settings.

Thanks!

Anthony Glenwright
Posts:11602

18 Aug 2009 10:29 PM  
Hi Glen,

We just did a re-test with DNN 5 and HrefExchanger, and it worked as expected. Can you please let us know which version of DNN 5 you are using (we are using DNN 5.1.1), and email a copy of your web.config to support@inventua.com so we can check it (remove any passwords first).

As you have suggested, HrefExchanger does not use paths, and therefore requires unique page names.
Anthony Glenwright
Posts:11602

18 Aug 2009 11:38 PM  
Hi Glen,

An update: We managed to reproduce the problem. It is caused by putting the hrefexchanger line in the web.config httpModules section at the bottom of that section (after the Url rewriter line). FYI we are in the process of updating the documentation, which mentions this, but states that it applies to DNN 3 (it means DNN 3 or higher, at the time of writing there was only DNN 2 and 3!)

So to fix the problem, move the line in web.config to the top of the httpModules section.
You are not authorized to post a reply.
Forums > Inventua Forums > DotNetNuke Modules/Components Support > HRef Exchanger and DotNetNuke 5.1.1



ActiveForums 3.7