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 ...DNN 8.04 - Bypass Friendly URL for one pageDNN 8.04 - Bypass Friendly URL for one page
Previous
 
Next
New Post
7/21/2017 10:00 PM
 

I'm having an issue with the friendly url feature.

I have a page on my site designed to take in a query string yet the friendly url rewrite causes issues.

When someone accesses the url mysite.com/something/mypage.aspx?a=1&b=2&c=3&d=4 it turns into  mysite.com/something/mypage.aspx/a/1/b/2?c=3&d=4 (another issue is not all of the parameters are being converted correctly), this causes issue with a javascript call relying on window.location.pathname 

I want to turn off the friendly url rewrite for this particular page. I want all calls to mypage.aspx to retain the correct pathname and query string. How do I do this?

 
New Post
7/23/2017 1:54 PM
 
are you using advancedURLs?

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
7/24/2017 4:20 PM
 
Sebastian Leupold wrote:
are you using advancedURLs?

I am unsure what advancedURLs is. Is it a module? A Setting? How can I confirm whether or not it is in use?

 
New Post
7/24/2017 4:47 PM
 
Alex Rodriguez wrote:

When someone accesses the url mysite.com/something/mypage.aspx?a=1&b=2&c=3&d=4 it turns into  mysite.com/something/mypage.aspx/a/1/b/2?c=3&d=4 (another issue is not all of the parameters are being converted correctly), this causes issue with a javascript call relying on window.location.pathname

 

I must note, I previously made a mistake in my first post, the path name actually changes from

mysite.com/something/mypage.aspx?a=1&b=2&c=3&d=4
to
mysite.com/something/mypage/a/1/b/2?c=3&d=4

 

 
New Post
7/25/2017 1:07 PM
 
Advanced URL provider is included in DNN and enabled by specifying URLFormat = advanced in web.config file of your site.

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 ...DNN 8.04 - Bypass Friendly URL for one pageDNN 8.04 - Bypass Friendly URL for one page


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.

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