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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0How can I modify/configure the menu to show the friendly name? How can I modify/configure the menu to show the friendly name?
Previous
 
Next
New Post
7/23/2008 2:06 PM
 

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 3:12 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/24/2008 1:31 AM
 

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 4:20 AM
 

I also need the same help! any help?


sunblognuke v5 for dnn

Ultimate Blogging Module for DotNetNuke Platform
The professional provider of DotNetNuke support, skin design and custom module development.

 
New Post
8/4/2008 12:58 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
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0How can I modify/configure the menu to show the friendly name? How can I modify/configure the menu to show the friendly name?


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