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  |  

$4.95 Windows Hosting at Webhost4life.com
  Ads  
r2i.ntegrated
 


  Sponsors  

Meet Our Sponsors

MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
telerik
ExactTarget email software solutions
Merak Mail Server
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  How can I modify/configure the menu to show the friendly name?
Previous Previous
 
Next Next
New Post 7/23/2008 12:06 PM
User is offline Mahesh K. Anjani
46 posts
10th Ranked


How can I modify/configure the menu to show the friendly name?  

Hi,

I want to use friendly URL to make my web site SEO friendly.

I have added friendly URL rules for all the pages. All the pages of web site contain its respective friendly name.

Ex:
The Contact Us page having tabid 120, so I have added a rule to friendly url as below.

LookFor: .*/ContactUs.aspx(.*)
SendTo: ~/Default.aspx?TabId=120$1

The problem is when page link shown in menu it shown as www.website.com/tabid/120/default.aspx instead of the friendly name www.website.com/ContactUs.aspx.

How can I modify/configure the menu to show the friendly name?

Is it possible write a rule in friendly Url or Request filter to change the www.website.com/tabid/120/default.aspx to www.website.com/ContactUs.aspx?

 Anyone have some working script or ideas on how to implement this. 

 

Thanks,
Mahesh

 

 
New Post 7/23/2008 1:12 PM
User is offline Baatezu
195 posts
9th Ranked


Re: How can I modify/configure the menu to show the friendly name?  
Modified By Baatezu  on 7/23/2008 3:12:40 PM)

This thread has some options

http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/108/threadid/240737/scope/posts/Default.aspx

 
New Post 7/23/2008 11:31 PM
User is offline Mahesh K. Anjani
46 posts
10th Ranked


Re: How can I modify/configure the menu to show the friendly name?  

Hi Baatezu,

Thanks for your replay. You may have to get the question properly. Please go through the mail, I have tried to explain the problem again with proper example. The link provides information regarding, how to add friendly url rule which I am already using / know.

My question is, How I can modify or configure the DNN menu so it use the friendly name of the page to show the page.

For example:

You have created a page which having tabid = 120. You have also added a friendly url rule in HostSettings => Friendly Urls (SiteUrls.config). While creating the page you have checked the "Include In Menu?", so the page link will shown in DNN menu.

Problem is the when I click the page link in menu it uses the URL with tabid instead of that the friendly name of the should be used.

That mean when I link the page link in menu it redirects to www.website.com/contactus/tabid/120/default.aspx instead of www.website.com/ContactUs.aspx.

Is it possible to achieve the aforementioned functionality using Friendly Url or Request Filter?

Can we write rule to change the traditional url (Url with tabid) to friendly one.

Please help if anyone have some working script or ideas on how to implement this.

Thanks,
Mahesh

 
New Post 7/28/2008 2:20 AM
User is offline baldwin
115 posts
www.dnnsun.com
9th Ranked


Re: How can I modify/configure the menu to show the friendly name?  

I also need the same help! any help?


www.dnnsun.com:The professional provider of DotNetNuke support, skin design and custom module development.
The professional provider of DotNetNuke support, skin design and custom module development.
 
New Post 8/4/2008 10:58 AM
User is offline Johnny Li
87 posts
10th Ranked


Re: How can I modify/configure the menu to show the friendly name?  
Modified By Johnny Li  on 8/4/2008 1:02:25 PM)

I have one easy but manual process for adding the "Friendly url" on your menu.

try

(1) Add the Friendly url tag in your web.config. (store.aspx points to tabid=55

RewriterRule>LookFor>.*/store.aspx</LookFor>SendTo>~/default.aspx?tabid=55</SendTo>RewriterRule>

(3) Add another page but set it as external url i.e. http://yoursite.com/store.aspx"

<

<

<

</

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  How can I modify/configure the menu to show the friendly name?
 


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.

 


T-WORX, INC.
Professional DotNetNuke Solutions
www.t-worx.com
AppTheory
Professional development for medium to large projects based on the DotNetNuke platform.
www.apptheory.com
OnyakTech
Modules for Help Desks, Live Chat, Project Management, CRM, Charting, Reporting, Scrolling Text/Images, Portal Community tools and much more.
www.OnyakTech.com

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