Tip: Passing a Querystring to another page in the current site

Return to previous page

  • 4/7/2015
  • 1906 Views

Comments

1906 Views

Tip: Passing a Querystring to another page in the current site

Last updated 5 years ago

Comments

Common

(Enter the content of this article below)

Advanced

 
In the page settings if you want to redirect to another page and pass a querystring to that page there are two ways to do it.

Both use the LinkURL setting in the Advanced|Other Settings section of the page settings.

The most common way is to place  a full URL in the location field e.g. "http://www.dnnsoftware.com/default.aspx?{Querysting}"
Where {querystring} is the querystring, including TabID you want to pass.

However if the current site has multiple portal aliases this isn't optimal.

The other way is to put the following in the location field "/{page}?{Querystring}&~". The addition of '&~' at the end stops DNN from adding 'http://' in front of the content of the location field. The "/{page}" portion should be a path name from the site root that is recognizable either from the name (friendly) or including a tabid identifier.
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