Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Biz Modules provides professional business modules and solutions for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
AspDotNetStoreFront - E-Commerce by Design - The Leading ASP.NET shopping cart platform for developers!
Click here to go to dev.live.com for Windows Live developer resources
SteadyRain
DataSprings - Great Ideas. Always Flowing.
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Configure It! (...  Need help with Friendly URL
Previous Previous
 
Next Next
New Post 3/16/2008 7:40 AM
User is offline duchoangle
450 posts
vn.pijaja.com
8th Ranked


Need help with Friendly URL 

Hi,

Currently, DNN's Friendly URL rewrites tab addresses to ~/[TABNAME]/tabid/123/Default.aspx

However, I need this instead: ~/tabid/123/Default.aspx

The reason is that due to the nature of my native language, some special characters may break the URL, so I want to omit the [TABNAME]. Meanwhile, turning Friendly URLs off will make some modules stop working.

Can anyone help me accomplish this?

Thanks.


Pijaja.Com - Innovative Site Builder

Sirius - Free skin for Dotnetnuke

 
New Post 3/16/2008 8:04 AM
User is offline Sebastian Leupold
14293 posts
www.deutschnetnuke.de
1st Ranked












Re: Need help with Friendly URL 

there is an option in web.config "includeTabNames" you can set to false.


Sebastian Leupold

DeutschNetNuke dnnWerk - The DotNetNuke Experts German DotNetNuke User-Group

DotNetNuke Project UserDefinedTable
DotNetNuke Project Release Tracker
 
New Post 3/16/2008 10:15 PM
User is offline duchoangle
450 posts
vn.pijaja.com
8th Ranked


Re: Need help with Friendly URL 

thanks Sebastian,

This did the trick.


Pijaja.Com - Innovative Site Builder

Sirius - Free skin for Dotnetnuke

 
New Post 3/17/2008 12:18 AM
User is offline ~: Sahilmohammad :~
56 posts
10th Ranked


Re: Need help with Friendly URL 

Hi SL,

i was trying to do as you told and i added following code in my web.config but it's not work.{see the bold portion} If i had a mistake than pls tell me

 

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


Bye,

Sahil

 

 

 
New Post 3/17/2008 4:37 AM
User is offline duchoangle
450 posts
vn.pijaja.com
8th Ranked


Re: Need help with Friendly URL 

 ~: JaSoN :~ wrote

Hi SL,

i was trying to do as you told and i added following code in my web.config but it's not work.{see the bold portion} If i had a mistake than pls tell me

 

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

 


Bye,

 

Sahil

 

 

Nope, you must change it to this:

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

In DNN, tab is equivalent to page; you just have to get used to it!


Pijaja.Com - Innovative Site Builder

Sirius - Free skin for Dotnetnuke

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Configure It! (...  Need help with Friendly URL
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Web Development and Strategy Firm
The Risdall Interactive Agency s websites, strategies, branding, & promotion in digital space.
www.Risdall.net/
Windsor Management Group
Fund Accounting Software for K12 Education.
Infinitevisions.com
Convert Visitors to Customers
In order to bring value to your users, we must first understand them. VIVIDSITES will help you build a custom web application and interactive marketing tools that your users will thank you for. We marry high-end creative with head banging technology to entertain and convert visitors into paying customers. Call 314.514.0505 or visit us at http://www.vividsites.com to find out how.
- V I V I D S I T E S -

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP