Hello
I have recently upgraded from DNN 9.7.1 to 9.7.2 and have just gone live. However, the URL's are not friendly. How do I enable friendly URL's please?
Thank you in advance.
Linda
Thank you for your advice. The web config currently looks like this: "urlFormat = "Advanced"
What else could be the problem?
In my web.config it looks like
[friendlyUrl defaultProvider="DNNFriendlyUrl"] [providers] [clear /] [add name="DNNFriendlyUrl" type="DotNetNuke.Services.Url.FriendlyUrl.DNNFriendlyUrlProvider, DotNetNuke.HttpModules" includePageName="true" regexMatch="[^a-zA-Z0-9 _-]" urlFormat="advanced" /] [/providers] [/friendlyUrl]
[ = <, ] = >
Happy DNNing! Michael
Michael TobischDNN★MVP
I've done a downgrade from Evoq Content 9.1.1 to DNN Platform 9.1.1 and an upgrade from this version to the last on 9.8.
Everything is working as it suppost to work except the friendly url rewrite. I have a news module that can create and list news. For every news that is created a new content item is also created and after that this line is called to obtain the url for that news:
var url = DotNetNuke.Common.Globals.NavigateURL(NewsListTabId, Entities.Portals.PortalSettings.Current, "", "&cid=" + newsDto.ContentItemId);
Before the downgrade/upgrade process this line returned something like this:
- https://portaldomain.org/News/Title-of-the-news
But currently, without any change of my code I'm getting:
- https://portaldomain.org/.../[contentID]
This as a big impact on SEO as so I'me trying to reverse but I'm not finding the right place. Also Globals.NavigateURL is deprecated but INavigationManager doesn't seem to work.
On web.config the friendlyUrl provider is DNNFriendlyUrl and urlFormat is advanced. This is only happening with my modules, creating normal pages throught the persona bar will return URLs with the title of the page.
Can you please advice on what I can do?
These Forums are dedicated to the discussion of DNN Platform.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.