Knowledge Base

Snippets

07
To switch from 'humanfriendly' mode to 'advanced' mode, follow these steps:

  1. Take a backup of the web.config file for your site
  2. Open the web.config file, and search for 'urlformat'. You should find this in the section, like this:

<add name="DNNFriendlyUrl" type="DotNetNuke.Services.Url.FriendlyUrl.DNNFriendlyUrlProvider, DotNetNuke.HttpModules" includePageName="true" regexMatch="[^a-zA-Z0-9 _-]" urlFormat="humanfriendly" />

  1. Change the urlFormat value to 'advanced', like this:

    <add name="DNNFriendlyUrl" type="DotNetNuke.Services.Url.FriendlyUrl.DNNFriendlyUrlProvider, DotNetNuke.HttpModules" includePageName="true" regexMatch="[^a-zA-Z0-9 _-]" urlFormat="advanced" />

  2. Save the web.config file.
  3. Request the home page of the new site - the site is now using the Advanced Url Format.
  4. Fully test the site to ensure it is operating as expected. If any issues are found, restore the web.config backup.
Posted in: DNN

Comments

There are currently no comments, be the first to post one!

Post Comment

Only registered users may post comments.