Products

Solutions

Resources

Partners

Community

About

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

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 ...Something is messing with URLs Advanced versus HumanFriendlySomething is messing with URLs Advanced versus HumanFriendly
Previous
 
Next
New Post
9/7/2018 2:56 PM
 

 I am running dnn 8.0.4 upgraded from 7.4.2.  I am having an issues with url rewrites that came to light with a new module install.

I have the url format set to advanced and when attempting to configure the new module I get a 404 error when the module tries to access an url. Here is the error:

PortalAlias: www.mysite.com
OriginalUrl :/desktopmodules/mymodule.WebAPI/API/CategoryAPI/GetComboCategories
Referer: http://www.mysite.com/Lifestyle/Career/Jobs

Url: http://www.mysite.com/desktopmodules/mymodule.WebAPI/API/CategoryAPI/GetComboCategories

When I change the url format to HumanFriendly, the urls work fine and I can configure the module. 

Except, oddly enough when using the module the reverse happens:  When I view a record and click on the title to go to the detail page using Advanced Url  is works fine.  Here is the url:  http://www.mysite.com/lifestyle/career/jobs/job-details/id/1/lead-cook 

When I change it to HumanFriendly I get a 404 error

Here is that url:  http://www.mysite.com/lifestyle/career/jobs/job-details/tabid/3350/id/1/default.aspx/lead-cook 

My site has been upgraded many times over the years and at some point I may have installed a url rewriter, used turboscripts etc,  but I cannot find any indication of anything that might affect AUM.  I scoured the bin directory, webconfig, uninstalled modules that might be suspect, combed through the site and portal settings and cannot find anything that might be causing this.

Any help in tracking this down would be greatly appreciated.

Thank you!

 
New Post
9/7/2018 6:35 PM
 
I wish I could edit the post and fix errors. I wanted to add that the url above where the humanfriendly detail record is getting a 404, here is the example

Here is the url it creates using humanfriendly urls:  /lifestyle/career/jobs/job-details/tabid/3350/id/1/default.aspx/lead-cook 

Here is what it should be:  /lifestyle/career/jobs/job-details/tabid/3350/id/1/lead-cook.aspx

For some reason the url was rewritten with default.aspx within the url and the page, lead-cook was rewritten without the aspx. It's almost like advanced and humanfriendly are combining.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Something is messing with URLs Advanced versus HumanFriendlySomething is messing with URLs Advanced versus HumanFriendly


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.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out