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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Friendly URL SettingsFriendly URL Settings
Previous
 
Next
New Post
1/5/2012 1:47 AM
 
Can someone help me understand how the friendly url settings work?  I know where the setting is in the Host Settings ->Advanced Settings, but when I enable the Use Friendly URLs checkbox in my Godaddy hosted web site, all the portals throw errors and are un-reachable.  It works fine on my localhost dev machine, and it used to work on the Godaddy hosted sites until one of the version upgrades back around 5.x something.  It seems to me that there might be some issue with how Godaddy sets up the IIS virtual site.  Has anyone else had this issue?  Is there a way to set the Match / Replace With values so that friendly URLs will work again?

Gene W
 
New Post
1/6/2012 4:36 AM
 

When you enable the Friendly Url Settings checkbox, all the Urls are generated through the Friendly Url Provider.  This changes how the Url appears.

The friendly URls don't contain the TabId, so the Url is rewritten when requested to replace the friendly version (like /home.aspx) with the tabid, so you get /defualt.aspx?tabid=34 on the server (the visitor sees no change in the browser).

To diagnose the problem you'll have to describe (a) what the Urls look like when the option is switched on and (b) what errors you are getting.

 
New Post
1/6/2012 10:27 PM
 

When I turn on friendly URLs, I get 404 errors when the url in the browser address bar is http://baaad.info/NewsArticles.aspx

Server Error in '/Baaad' Application.
The resource cannot be found.
 Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable.  Please review the following URL and make sure that it is spelled correctly.

 Requested URL: /baaad/NewsArticles.aspx

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1

The "Friendly URL" that is being used in the browser address bar (http://baaad.info/baaad/NewsArticles....) is what I expect it to be, but it throws the 404 error.  To regain the ability to get to any pages I have to update the UseFriendlyUrls setting in the HostSettings table manually. When FriendlyURLs are turned off, the address in the browser is http://baaad.info/baaad/Default.aspx?... which works to display the NewsArticles page just fine.  The main site domain name is http://baaad.info, and dnn is installed in a folder named \baaad in my hosted account.  The domain name is mapped using godaddy's management tools so that \baaad is the application root for the domain name.

Let me know if you need more info.


Gene W
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Friendly URL SettingsFriendly URL Settings


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