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 ...friendly urlfriendly url
Previous
 
Next
New Post
2/19/2009 9:24 AM
 

I want to know how turn-on friendly urls for dnn.

My page is http://localhost:62192/TestApplication/Repository/tabid/56/Default.aspx

and i want to display it as http://localhost:62192/TestApplication/FriendlyUrl.aspx

is it possible with dnn without using any third party module or dll?

It is urgent one.......

 
New Post
2/19/2009 11:52 AM
 

Look in your web.config for the <friendlyURL> section and change it so that it looks like the following

<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>

Note the bolded urlformat="HumanFriendly". That should be the only change you need to make on that line.

 
New Post
2/21/2009 1:27 AM
Accepted Answer 

Thanks a lot mike......but i am facing one problem after changing it....whenever i click on any of the pages (tabs) of dnn website it shows pages are offline.....

Do i need to make anychanges to SiteUrl.config file? or do i have install any provider.....i am using DotNetNuke version 4.09.00

I will be really thankful to you if you provide me some more insight to this....

I went through the docs provided by DotNetNuke.com...they were saying some overide someof the method under friendlyUrl Namespace

 
New Post
2/24/2009 9:18 AM
 

hi mike,

thanks a lot for your valuable suggestiom.....

after adding <urlformat="HumanFriendly"/> the url is converted in to a friendly one....

i can see now my url looks like http://localhost/MyPage.aspx in address bar...

the i can view pages....it show that application is offline

 
New Post
3/30/2009 10:20 AM
 

Hi Mike,

Is it possible to put a hyphen between 2 words of the page name. For example I am creating the About Us page, but the page is named as AboutUs.aspx. I would rather have it as About-Us.aspx since that is more Search Engine friendly. Please advise.

Looking forward to your response.

Thanks,

Wasim

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...friendly urlfriendly 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