Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0How to get current FriendlyURL?How to get current FriendlyURL?
Previous
 
Next
New Post
2/17/2012 4:18 AM
 
LOL ! many years later and still useful ! Thanks !
 
New Post
5/24/2013 5:59 AM
 

And over a year later still usefull. Threads should never be closed just because of their age.

I needed to redirect my visitor to an external site (a payment provider) and pass the url to which the payment provider should redirect my visitors back, which happens to be the originating page.

Unfortunatly directing them to the Request.Url of the page (e.g. http://dnndev.me/Default.aspx?TabID=684 with "&payment=succesfull" added to it by the paymentprovider) doesn't work as visitors are instantly redirected to the friendly url (e.g. http://dnndev.me/HelloWorld and all parameters are stripped in the process (this can be considered a bug, it's not how url rewriting is supposed to work)

DotNetNuke.Entities.Tabs.TabController.CurrentPage.FullUrl doesn't provide the friendly url, but something like http://dnndev.me/en-us/helloworld.aspx which suffices as it doesn't get rewritten.

The thread may remain open for anyone how fiend an even better solution (= the friendly url)

 
New Post
8/20/2014 10:33 AM
 
Anyone have an example of accessing the friendly / "FullUrl" in a custom HttpModule?
Thanks!
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0How to get current FriendlyURL?How to get current FriendlyURL?


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