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 to achieve neat URLs in DNN5?How to achieve neat URLs in DNN5?
Previous
 
Next
New Post
10/28/2009 12:14 PM
 

Hi folks

Browsing the beautiful http://www.evolveone80.com.au/home.aspx site that is up for an award, I was struck by the neatness of its URLs.

Is the ifinity URLMaster module still the best way to go - or can it be acheived in DNN5 without a third party module?

Kind regards

Geoffrey

 


Geoffrey Morton-Haworth www.yalaworld.net
 
New Post
10/28/2009 1:43 PM
 

 It can be handled in DNN using the HumanFriendly URL setting in the web.config, though I still recommend Ifinity as the best solution for URLs in DNN.


Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
New Post
10/28/2009 7:12 PM
 

Thanks Chris. That worked. I found the full details on the Venexus site, i.e.

A new feature in DNN 4.7 is the "human friendly urls". Instead of displaying the long URLs with tabid (Example: http://www.domain.com/tabid/123/default.aspx), by adding an attribute to the DNNFriendlyURL provider in your web.config, you can provide URLs using the page name only (Example: http://www.domain.com/Home.aspx). This is great for not only being able to give other people simple URLs to pages on your site, but also for search engine optimization.

To make the change, simple add the following attribute: 

urlformat="HumanFriendly"

to the following line in your web.config:

 <friendlyUrl defaultProvider="DNNFriendlyUrl">
      <providers>
        <clear />
        <add name="DNNFriendlyUrl" type="DotNetNuke.Services.Url.FriendlyUrl.DNNFriendlyUrlProvider, DotNetNuke.HttpModules" includePageName="true" regexMatch="[^a-zA-Z0-9 _-]"  urlformat="HumanFriendly" />
      </providers>
    </friendlyUrl>

Kind regards

Geoffrey

PS I think the DNN 5 User Guide is really excellent - a model of good documentation


Geoffrey Morton-Haworth www.yalaworld.net
 
New Post
10/28/2009 7:12 PM
 

Geoffrey - you think those urls are neat?  How about : http://dnnct.org/  ?  This is a Url Master enabled site.

/self plug over :)

 
New Post
11/10/2009 8:00 AM
 

hey all,

urlformat="HumanFriendly" is great.

 

ifinity is a great 3rd party for great looking urls and seo friendly.

 

i am developing a web site with dnn for sculptures. i am creating pages with the names of the sculptors.

so i go to my dnn website and i create a new page with the name

sculptor-name-sculptor-surname
(with dashes)

 the problem is this:

when i view the page , i see this e.g

www.mysite.com/sculptornamesculptorsurname.aspx

the dashes (-) are gone. but i need them..... because if i have the name without dashes, it is a huge problem for SEO reasons.

is there any way to say to the human friendly provider, no to wipe out the (-) character?

thanks

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...How to achieve neat URLs in DNN5?How to achieve neat URLs in DNN5?


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