At last! DNN7.1 has extensionless URLs and a "url name" setting for every page
This is a big step forward. Starting with DNN v.7.1, you can say goodbye to ugly URLs and .aspx extensions. Following a suggestion made by yours truly (here: http://www.dnnsoftware.com/voice/cid/138237), DNN 7.1 has adopted a "Page URL" field in Page Settings, letting you specify the exact URL the page should use.
This is essentially an URL rewrite for the page, that makes the page's URL independent of the page's name, meaning that you can change the name as many times as you like, without affecting any links that are present in text/html modules or elsewhere.
The only bad thing (or good, depending on your point of view) is that the URL is not automatically synthesized based on page hierarhcy, meaning that you have to specify the exact URL for each page, starting from the virtual root.
For example, in the default DNN installation you have the About Us page which has a URL of "/About-Us" while the sub-page Style Guide has a URL of "/About-Us/StyleGuide". The whole URL for the Style Guide page has to be typed again, i.e. the "/About-Us" part is not inherited from the URL field of the parent page.
This makes things a bit more difficult since you have to remember the URLs of parent pages if you want to represent the hierarchy using friendly URLs, but on the other hand gives you a bit of freedom since you do not need to specify exact paths to get to a page - you can easily give the Style Guide page, for example, a URL of "/YourStyleGuide", forgetting the "About-Us" part at all.
It would be nice to see an "inherit" option in future versions though.
4 comments:
Great article. It is important to mention however that sites upgraded to 7.1 from even other 7.x version do not automatically get extension less URLs, or the new default 404 page not found.
Somewhat easily solved but a nuisance just the same. Not sure what else might not make it as a part of the upgrade.
Mike O
Asset Technology Solutions LLC
I've also noticed the issue mentioned by Mike. How can I solve it?
Thank you,
Francisco
See this article on DNN Wiki for an answer to your question:
http://www.dnnsoftware.com/wiki/Page/Activating-Advanced-Url-Management
Thank you, Gyromyristis!
:-)
Post a Comment