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 ...Shortcut URL - How do you create them?Shortcut URL - How do you create them?
Previous
 
Next
New Post
3/9/2009 9:17 AM
 

I regularly create shortcut URLs like these:

http://www.mywebsite.com/TodaysSpecial -> special page

http://www.mywebsite.com/Profile -> my profile page.

I've been using virtual directories and redirect them to the folder that contains .php or javascript file, which then redirect to the page.

e.g.  http://www.mywebsite.com/Profile > redirect to a folder called "profile" and the folder has "index.php" which has a small script to redirect people to the profile page.

 

QUESTIONS:

1. Is there any smarter way to do this redirect jobs?

2. I have 50+ virtual directories for shortcut URLs. Does this affect on DNN performance? It could be coincidence but i feel like it is slower with too many virtual directories.

 
New Post
3/9/2009 10:00 AM
 

I would suggest using the URL Rewriter built into DNN rather than your virtual directory solution.  This would mean creating rules for each redirect in the URL Rewriter section of the Host Settings page (under Advanced Settings).  The rules would look something like this: MATCH: ".*/Profile/Default.aspx" REPLACE WITH: "~/Default.aspx?tabid=155" (assuming 155 is your profile page).

One additional step once you've set up your URL Rewriter rule is to make sure that the request to that URL gets processed by ASP.NET.  The easiest way to do that is to create that folder in your website and add a file named Default.aspx to it.

Hope that helps,


Brian Dukes
Engage Software
St. Louis, MO
866-907-4002
DNN partner specializing in custom, enterprise DNN development.
 
New Post
3/10/2009 8:51 AM
 

Thank you Brian,

I'll try that! it's something i've been neglecting to do so for a long time...

 
New Post
3/10/2009 10:22 PM
 

If you are setting up that many vanity Urls, I would get ISAPI_Rewrite.

 


Tom Kraak
SEO Analyst
R2integrated
 
New Post
3/11/2009 11:44 AM
 

I like the functionalities of the product and the price

Thank you!

Btw, If I make "too many" virtual directories,,, say like 150 of them, does that greatly affect on the performance of the server?

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Shortcut URL - How do you create them?Shortcut URL - How do you create them?


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