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  |  

Affordable ASP.NET Hosting Service
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Engage Software - Training Partner for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
The Official Microsoft ASP.NET Website
 


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

 


DocuPeak Business Process Management RAD
Comprehensive enterprise and government process management. Forms, documents, indexing, workflow, views, content intelligence, capture, etc. Point and click rapid application development.
www.Webiplex.com
ADefWebserver.com
DotNetNuke® Module Development Help Website
ADefWebserver.com
Get Smarter Mail, SmarterStats, SmarterTickets
Windows mail server, web log analytics, and customer service management software - Free Editions Available!
www.smartertools.com

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