Forum


HomeHomePremiumPremiumAdministrationAdministrationActivating advanced URL managementActivating advanced URL management
Previous
 
Next
New Post
8/7/2013 10:10 AM
 

Hello,

I've watched your excellent video re: 7.1 friendly URL management. I'm hosted at PowerDNN and upgraded to 7.1 a week or two ago. After watching your videos I attempted to make the change. However when I go to the web.config file I found that it does not look like your examples or the examples given by PowerDNN at this link.

This link shows:

  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" />

My site webconfig looks like below. PowerDNN is claiming that only new sites can take advantage of this functionality. Sites upgraded from other versions of 7.xx are not able to get this functionality and on a related matter, are also are not able to get the new 'page not found' function. Has anyone upgraded from any other version of 7 to 7.1 and made this work?

Web.config snippet from my PowerDnn site:   <add name="DNNFriendlyUrl" type="DotNetNuke.Services.Url.FriendlyUrl.DNNFriendlyUrlProvider, DotNetNuke.HttpModules" includePageName="true" regexMatch="[^a-zA-Z0-9 _-]" urlFormat="" />

     

   

   

     

 
New Post
8/7/2013 10:21 AM
 

Hi Mike,

If you have the site upgraded to DNN 7.1 you should be able to change the parameter urlformat="advanced" - Give it a try. You can always revert it back if something goes wrong.

Best regards,

Aderson

 
New Post
8/7/2013 11:01 AM
 

Hi Aderson,

I guess I'll give it a try, but am concerned about 'unintended and undiscovered' consequences. Especially  because the new 'page not found' that you document so well in 7.1 does not come along for those that have upgraded (according to PowerDNN).

I'll report back shortly. BTW here is a slightly large snippet of of my 7.1 'upgraded' code. Please note the differences in just these few lines.


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

 
New Post
8/7/2013 11:06 AM
 

Hi Mike,

The major difference I see is the urlFormat is not filled. If you need assistance with any troubles this may cause, just reach out to my personal email address at aderson at dnnhero dot com

Good luck!

Aderson

 
New Post
8/7/2013 11:11 AM
 

Aderson,

Per your advice added 'advanced' between the previously empty quotes as shown below. Appears to have worked just fine (no aspx extensions). I say appears as I am not aware of what other functionality my be related and not working with this simple change. But for now good.

I don't have a clue however why the default 404 page not found functionality does not get applied when you upgrade to 7.1 from 7.x. That would be very nice. Any clues? Makes me worry about fundamental changes between editions, especially with all the Evoque stuff going on.

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

      </providers>
    </friendlyUrl>
    <caching defaultProvider="FileBasedCachingProvider">
      <providers>
        <clear />


 
Previous
 
Next
HomeHomePremiumPremiumAdministrationAdministrationActivating advanced URL managementActivating advanced URL management



Try FREE
30 days money back guaranteed