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 ...Short URLs - How to impliment properly...Short URLs - How to impliment properly...
Previous
 
Next
New Post
12/13/2010 10:02 AM
 

I need to create some short URLs so that if someone goes to:

http://www.domain.com/XXXX

it would show them a page located elsewhere for example:

http://www.domain.com/HomeNav/Solutions/somepage.aspx

I used to do this on other sites with the following code:

<rewrite>
      <rewriteMaps>
        <rewriteMap name="Short Urls">
          <add key="/cpp" value="http://www.cbossinternet.com/--Home-N..." />
          <add key="/abettersite" value="http://www.cbossinternet.com/--Home-N..." />
          <add key="/securepayments" value="http://www.cbossinternet.com/--Home-N..." />
        </rewriteMap>
      </rewriteMaps>
      <rules>
        <clear />
        <rule name="Rewrite rule1 for Short Urls" stopProcessing="false">
          <match url=".*" />
          <conditions logicalGrouping="MatchAll">
            <add input="{Short Urls:{REQUEST_URI}}" pattern="(.+)" />
          </conditions>
          <action type="Rewrite" url="{C:1}" appendQueryString="false" />
        </rule>
      </rules>
    </rewrite>

Now, if I do this manually with code or using the ifinity 2.2.2 mdoule I get the following error:

Server Error
404 - File or directory not found.
The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.

I have no problem uninstalling this module if it is cauing the issue, but I am unsure of where the problem is. All I need ot do is create some simple rewrites. Any help is appreciated. Thanks!
 
New Post
12/13/2010 7:36 PM
 
for support with 3rd party extensions like UrlMaster, please use support options provider by the developer/vendor. Thank you.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
12/14/2010 3:56 PM
 
I got it working with help from the DEV... however... the code I put in my post is for if you want to do this manually. Why would it not work without the moduel installed?

How are short urls created in the Web.Config manually?
 
New Post
12/14/2010 4:02 PM
 
We had the same conflict between IFinity's URLMaster and the rewrite module. Please post what you hear back from IFinity.

David O'Leary
Efficion Consulting
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Short URLs - How to impliment properly...Short URLs - How to impliment properly...


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