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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Friendly URLFriendly URL's again (unrelated)
Previous
 
Next
New Post
11/22/2006 9:59 AM
 

Hi

I'm being thick I'm sure.

I'd like to have the ability to forward a friendly name URL to a page on the DNN site, and I don't know whether this is possible using friendly URL's?

Let's say I have a subscription page here:
http://www.mywebsite/Subscribe/tabid/74/Default.aspx

But I would like to quote this URL to people (below), this will forward to the URL above:
http://www.mywebsite/subscribe

Could anybody tell me, what would be the "match" and "replace with" values, if indeed this is possible?

Many thanks in advance

Alex



Alex Shirley


 
New Post
11/22/2006 10:44 AM
 

 

First off, you will have to use a path that includes a filename with an extension that will tell the webserver to handoff the request to ASP.Net, so that in turn the FriendlyUrl handler in DNN will be able to get the request.  So you'll need something like

http://www.mysite.com/Subscribe.aspx

If that is the FriendlyUrl, then your SearchFor parameter should be   .*/Subscribe.aspx

And your ReplaceWith parameter would be   ~/Default.aspx?tabid=74


DotNetNuke Modules from Snapsis.com
 
New Post
11/22/2006 2:24 PM
 

Thanks John....!

So I guess http://www.mysite.com/subscribe isn't possible here?
I presume I would need a "page forwarder" mechinism or something to do this?

Reason being a few of my sites are for paper based newsletters, and they like to quote friendly, nice looking URL's.

On Static sites I achieved this by having a page with a folder http://www.mysite.com/subscribe/default.aspx which of course will be resolved by http://www.mysite.com/subscribe.

Perhaps I should log this as a suggestion in Gemini?

Cheers

Alex



Alex Shirley


 
New Post
11/22/2006 3:05 PM
 

Alex,

if you need www.mysite.com/subscribe, just create the folder subscribe and place a default.aspx inside redirecting to parent default.aspx with appropriate parameter. Done.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
11/22/2006 3:57 PM
 

Ha! makes sense - thanks....

I wonder if this has any implications for the site stats being logged via DNN?

Nevertheless I'll give it a go.

Cheers and thanks

Alex



Alex Shirley


 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Friendly URLFriendly URL's again (unrelated)


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