Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Changing DNNFriendlyUrl urlFormat to "advanced" from "humanfriendly" causes redirect loopChanging DNNFriendlyUrl urlFormat to "advanced" from "humanfriendly" causes redirect loop
Previous
 
Next
New Post
3/10/2015 6:57 AM
 

Background

Our server is running Windows Server 2008 R2 SP1 with IIS 7.5.

Yesterday, we updated a site from DNN 7.3.1 to 7.4. Ever since then, links will only work with a .aspx on the end of them. For example, http://www.example.com/Download.aspx works, but http://www.example.com/Download will return a 404 error. This has only happened since updating to 7.4. The extensions URLs worked before the update.

Googling took me to this wiki page which recommended changing the urlFormat of the DNNFriendlyUrl entry in web.config from human friendly to advanced, i.e.

<add name="DNNFriendlyUrl" type="DotNetNuke.Services.Url.FriendlyUrl.DNNFriendlyUrlProvider, DotNetNuke.HttpModules" includePageName="true" regexMatch="[^a-zA-Z0-9 _-]" urlFormat="advanced" />

Problem

Making this change as recommended causes an infinite redirect loop:

This happens on any URL we try to load, with or without the .aspx extension.

What I've tried

The wiki page linked above noted that a prerequisite to activating advanced URL management was the installation of hotfix 980368, which would not install on our server. A Server Fault question suggests this is because we have Service Pack 1 installed.

 
New Post
3/13/2015 7:40 AM
 

Hi

I would really appreciate an answer to this as it is causing real problems with outside links. Is there a solution?

Thanks

 
New Post
3/14/2015 7:10 AM
 
Were you using a 3rd party extension for url rewriting before, e.g. URLmaster from infinity.com.au? Please check with the vendor/developer for compatibility and upgrade options.

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
3/16/2015 6:22 AM
 

Sebastian

We don't have any third party URL rewriting extensions installed.

 
New Post
3/16/2015 7:55 AM
 
there might be an upgrade issue in your web.config, I'd compare it with a new install of same version of DNN

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Changing DNNFriendlyUrl urlFormat to "advanced" from "humanfriendly" causes redirect loopChanging DNNFriendlyUrl urlFormat to "advanced" from "humanfriendly" causes redirect loop


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.

Content Layout

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  


Copyright 2017 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out