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 ...How do I make a URL like http://root.com/special point to a DNN page called "special"How do I make a URL like http://root.com/special point to a DNN page called "special"
Previous
 
Next
New Post
12/15/2006 4:49 PM
 
mhj96813 wrote

We did this a bit different.  We created a custom error page in classic asp and redirected the 404’s to that in IIS. The custom asp read the dnn database to read from the list that tells what requests will go to which pages. That way the redirection can be defined inside of DNN from the host menu.

mj

One on the reasons I would like DNN to handle this is so a DNN/tadid/rename won't occur and cause me to have to manually go readjust the redirection.
 
New Post
12/15/2006 4:53 PM
 

You can do it with SiteUrls.config if you don't mind using an extension intead of just a folder:

    <RewriterRule>
      <LookFor>.*PageBlaster.aspx</LookFor>
      <SendTo>~/Default.aspx?tabid=589&amp;ProductID=10</SendTo>
    </RewriterRule>

Goes to http://www.snapsis.com/PageBlaster.aspx

 


DotNetNuke Modules from Snapsis.com
 
New Post
12/17/2006 10:23 AM
 
John Mitchell wrote

You can do it with SiteUrls.config if you don't mind using an extension intead of just a folder:

   
      .*PageBlaster.aspx
      ~/Default.aspx?tabid=589&ProductID=10
   

Goes to http://www.snapsis.com/PageBlaster.aspx

 

Thanks mikeh, your answer is VERY CLEAR and it works.

John Mitchell, your answer sounds very interesting to me, but I was not able to make it working...
Could you please tell me where is my mistake please ???
My portal is based on http://domain.com/digital. I would like this URL http://domain.com/digital/TestHELP/tabid/66/Default.aspx to be replaced by http://domain.com/digital/help.aspx

I have done the following, but it does not work:
<RewriterRule>
      <LookFor>*/digital/help.aspx</LookFor>
      <SendTo>~/digital/TestHELP/tabid/66/Default.aspx</SendTo>
    </RewriterRule>

Where is my mistake ??? (I have also tried other combination without any success!)
Is there also the possibility to use friendly url instead of modifying the SiteUrls.config ??

Déclic Vidéo FX

 
New Post
12/17/2006 8:19 PM
 

Hi Declic,

Your problem is that you are sending it to another "friendly url".  Do your RewriterRule like this:

<RewriterRule>
      <LookFor>.*/digital/help.aspx</LookFor>
      <SendTo>~/Default.aspx?tabid=66</SendTo>
    </RewriterRule>


DotNetNuke Modules from Snapsis.com
 
New Post
12/18/2006 4:07 PM
 

I would like to use a folder because we were advertising the old FrontPage subdirectory folder name and not an extension. I would like http://domain.com/subweb to be the URL users submit. And that would take them to the DNN toplevel menu item's "page" named "subweb". 

 The page name is arbitrary of course. It could just as well be a page named "wonka", and I still would like the url http://domain.com/subweb to be able to point it. I am begining to see my problem. THe old FrontPage subweb model was hard coded to the folder name. DNN portal pages do not really care about the folder name as it applies to the calling URL.

What's an old FrontPage subweb guy to do?  *sigh*

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...How do I make a URL like http://root.com/special point to a DNN page called "special"How do I make a URL like http://root.com/special point to a DNN page called "special"


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