Register   Login
     
  Categories  
  Archive  
  Authors  
02
DotNetNuke is a content management system that allows webmasters to quickly build web sites (portals). Webmasters can create, modify and delete any number of pages (previously known as tabs) within their portal.

To provide this functionality, DotNetNuke will store the details about the portal (page hierarchy) and the page content (known as modules) inside a data store (default is a SQL  Server database).

As with most data structures a unique key is used to retrieve content out of the data store. Traditionally, this key has been known as “TabID”, a parameter that appears in most DotNetNuke URLs for version’s 1.x and 2.x. As a page is requested, typically a “TabID” is provided to identify the page within the application’s data store.

A traditional URL might have looked like:-

http://www.dotnetnuke.com/default.aspx?tabid=510

When the page is processed, a TabID is used to identify a number of items:-

•    The content for the current page.
•    The portal for the current page (TabID’s (pages) belong to a portal)

The above however, has a number of problems. Firstly, the above URL is not easily remembered by a human, e.g. it is not human friendly. Secondly, it is not search engine friendly, most search engines will ignore or avoid pages with parameters.

This guide will investigate the requirements, the concepts and the implementation around Friendly URLs for DotNetNuke.

Pages: 1 of 5 Next Page
Posted in: DotNetNuke

Post Rating

Comments

Anonymous User
# Anonymous User
Wednesday, July 06, 2005 6:07 PM
Thanks a lot
Tom Lucas
# Tom Lucas
Thursday, July 21, 2005 12:04 PM
Scott, great information. Any chance that DNN 3.1.1 could offer that the URL created be PageName.aspx instead of the basic default.aspx? You already do this in the Article module. How about a core option to use default.aspx or pageName.aspx? Might help with SEO and such.
Scott McCulloch
# Scott McCulloch
Thursday, July 21, 2005 6:44 PM
I could release a tweaked provider for it?
Anonymous User
# Anonymous User
Wednesday, August 10, 2005 11:28 AM
Is there a list of url paramters we can use for creating a url?

for example: tabid, ctl, mid

i have found it difficult to find and would love to know.
Anonymous User
# Anonymous User
Wednesday, November 09, 2005 9:37 AM
How does the DNN solution address the requirement that physical folders not be created for child portals? Or for the friendly URLs for that matter? Doesn't IIS reject the invalid filepath before passing the request to the aspnet http handler?
Anonymous User
# Anonymous User
Friday, January 27, 2006 1:00 PM
How can I disable this friendly URL feature?

Maria
Sivakumar J
# Sivakumar J
Tuesday, May 02, 2006 6:06 AM
Great!!!
Deeps
# Deeps
Thursday, August 30, 2007 4:54 AM
Can anybody give me the details of how to use this friendly url feature.
I have a menu item, "Edge" so i added

.*Edge.aspx
~/Default.aspx?tabid=58

in my siteurl.config file. But when I click on "Edge" it still shows me the same url with tabid/58/default.aspx in the address bar.
What should I do?? can any one help me Please...
Ashley
# Ashley
Tuesday, September 18, 2007 4:45 PM
Thanks for a detailed post, exactly what I was looking for. One question though, probably a stupid one but I shall ask it anyways... Is it possibly to use shortened links (www.domain.com/About/Newsfeed.aspx) in the Inventua Sidemenu module. Currently I have it using the extended URL (www.domain.com/ParentPage/Page/tabid/xxx/Default.aspx)

Thanks in advance...
Scott McCulloch
# Scott McCulloch
Tuesday, September 18, 2007 5:16 PM
You should take a look at this page, it includes an enhanced URL provider to do what you need:-

http://www.ventrian.com/Resources/Projects/FriendlyUrls.aspx
Ashley
# Ashley
Tuesday, September 18, 2007 10:20 PM
Thanks for the quick reply
Antony Gilbert
Sunday, December 16, 2007 10:26 AM
This is GREAT INFORMATION, you share with the community like I haven't seen often !
I use your new article since a while and tried to buy another SEO thing that gave a second URL and you are right! I just lost ranking in goole because of double content :(... Since i uninstalled it, i also lost some URL in a few articles, not all (curious ??). What would you recommand to get back all the initial settings ?

Thanks in advance !
tlyczko
# tlyczko
Tuesday, March 11, 2008 10:40 AM
How can we add more specific rules??
Such as to strip out specific phrases??
And replace space with + or _ (underscore)??
Thank you, Tom
tjbuege
# tjbuege
Friday, August 29, 2008 1:48 AM
I can only read the first page of this article. When I click on the Next Page link, I end up back on the same page (page 1). I've tried with FireFox 3 and IE 6. Can someone help? Thanks.
Scott McCulloch
# Scott McCulloch
Friday, August 29, 2008 1:59 AM
I can only read the first page of this article.

Yep, I just deployed a change to news articles and this is a bug, it will be fixed shortly.
Super User Account
# Super User Account
Friday, August 29, 2008 2:14 AM
tjbuege - can you try now?
tjbuege
# tjbuege
Friday, August 29, 2008 6:15 AM
Works much better now. Thanks!
oyunlar
Friday, September 05, 2008 5:59 AM
thanks
James
# James
Tuesday, November 18, 2008 12:01 PM
well that sucks, I had written out an huge comment but site crashed and I lost it.

Basically I was thanking you for the solution. I'm modifying it to further parse the query string. I am in an environment where a 'tabid' in the query string may need to be further parsed and the page redirected to some place other than ~/default.aspx?tabid=xxx
liver cancer symptoms
Wednesday, April 15, 2009 3:49 AM
How can I disable this friendly URL feature?

Mike
Scott McCulloch
# Scott McCulloch
Wednesday, April 15, 2009 4:03 AM
In host settings.
historia del juego virtual en casinos
Friday, July 31, 2009 2:37 AM
Traditionally, this key has been known as “TabID”, a parameter that appears in most Dot Net Nuke URLs for version’s 1.x and 2.x. As a page is requested, typically a “Ta Bid” is provided to identify the page within the application’s data store.Basically I was thanking you for the solution. I'm modifying it to further parse the query string. I am in an environment where a 'ta bid' in the query string may need to be further parsed and the page redirected to some place other than ~/default
thomasdevos
Friday, August 14, 2009 6:35 PM
is there any efficiency way to built one-way link?
cure insomnia
Saturday, October 03, 2009 8:12 PM
thank you for your info, it's so usefull for me
Andrew
# Andrew
Wednesday, October 07, 2009 6:57 PM
Hi,

I'm already using Friendly URls (e.g. http://myserver.com/mypage.aspx) and need to redirect users to a login page, whereupon they'll be redirected to the referring page.

Using Request.ServerVariables["SCRIPT_NAME"] to obtain the path for the referring file doesn't work - can you tell me how I can obtain the path for the current page, using Friendly URLs?

Thanks!
Eric
# Eric
Thursday, January 21, 2010 9:29 AM
Hello,

Is it possible to use FriendlyURLs to fix a broken link?
Our dnn site crashed and we were unable to recover it.

Old URL: www.springbok.ca/LinkClick.aspx?link=318&tabid=58

New URL: www.springbok.ca/Services/BusinessAnalysis/tabid/58/Default.aspx

When I try to manually edit the SiteURLs file with this code, it throws an error.

.*/LinkClick.aspx?link=318&tabid=58
~/Default.aspx?tabid=58

In Visual Studios, it does not like & symbol.

Any ideas on how I can correct this?

Thank you,
Scott McCulloch
# Scott McCulloch
Thursday, January 21, 2010 1:41 PM
Try the encoded value for &, it is &
Scott McCulloch
# Scott McCulloch
Thursday, January 21, 2010 1:41 PM
The last comment is missing amp;
Eric
# Eric
Friday, January 22, 2010 10:18 AM
do you have to restart the app for the changes in the SiteURLs files to be noticed by the app?

Post Comment

Name (required)

Email (required)

Website

Enter the code shown above: