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 ...Shortened Default URLShortened Default URL
Previous
 
Next
New Post
1/12/2010 4:31 PM
 

I put together a dnn site for a friend and got it completed. It seems to be running ok... kinda slow it seems at times, but it is working. I noticed that when we navigate to the site the opening URL is unususlly long. How can i set the dnn up so that on the home page the url is just the web address...?

Example:

What i would like to see is http://www.swdpserverracks.com\

What we see now is http://www.swdpserverracks.com/Home/t...

What do i have to do to make this happen?

 

Bill

 
New Post
1/12/2010 7:48 PM
 

Hi Bill

The duplicate home page Url is from the standard DNN Url Rewriter/Friendly Url Provider.  On a standard DNN install, you can get to the home page via these links :

domain.com/

domain.com/default.aspx

domain.com/default.aspx?tabid=128

domain.com/home.aspx

domain.com/home/tabid/128/default.aspx

I have written a module which corrects this problem in two ways:

1)  generates only one (the site root url) Url for the home page, so that the menu and other generated links do not have multiple versions of the same url.

2)  allows you to automatically redirect the different urls back to that single Url, thereby ensuring that only one version of the Url is used in links, search engines and internally on the site.

You can download a trial version of the module at http://www.ifinity.com.au/Products/Ur... .  The module gives you a lot more control over the Urls on your site.

Another quick and easy alternative (for SEO purposes) is to include a canonical link element in your home page.  While this won't change the various Urls, it does ensure that search engines like Google won't index the multiple versions.   However, this won't change the visual aspect of the problem which you have identified.

Feel free to get in contact if you have any questions.

As for the performance aspect, I recommend you search for the performance related blog posts by Mitchel Sellers.  They contain very useful information.  You may also wish to investigate a 'keep alive' service which will periodically 'ping' your site and will keep it in memory on your server, which speeds up performance.

 
New Post
3/22/2010 6:08 PM
 

 

When using a canonical link element in the home page – what URL do we make reference to:

 <link rel="canonical" href="http://www.example.com/" />
or   <link rel="canonical" href="http://www.example.com/default.aspx" />
or   <link rel="canonical" href="http://www.example.com/home.aspx" />
 
Thanks
 
New Post
3/23/2010 12:29 PM
 

Short Answer: #1

Long Answer: it depends on what you what the world to see as your home page url.  Some prefer to use /default.aspx, as it is used quite a bit by DNN when referencing the home page, but I prefer to stick with example.com/ whenever possible.

Also, Bruce, who posted above, is an expert on DNN urls, and I highly recommend his product if you want full control of your urls.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Shortened Default URLShortened Default URL


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