DotNetNuke Wiki


Url Rewriting

Page discussion for Url Rewriting
#
Updating an older web.config to support friendly URL's2012/03/21 03:14 AM by VashJuan
Thanks Cathal for the Url Rewriting Wiki Article..

I suspect I have an even older web.config that is now in my 6.1.3 site, but likely started life with a 3.x era web.config file. It currenlty has these two lines:

Any suggestions for how to update this site/config file to use the new friendly URL provider?
#
Re: Updating an older web.config to support friendly URL's2012/03/21 06:37 AM by cathal
those lines look fine , its the provider definition you need to look at - it will be in the area and 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="humanfriendly"/>
      </providers>
    </friendlyUrl>

Note: I recommend asking questions such as this on the exchange at http://www.dotnetnuke.com/Community/Community-Exchange.aspx

Attend A Webinar
Start  Professional Edition Trial
Have Someone Contact Me

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

Sponsors

DotNetNuke Corporation

DotNetNuke (DNN) provides a suite of solutions that make designing, building and managing feature-rich sites and communities fast, easy and cost-effective. The DotNetNuke Platform CMS is the foundation for more than one million websites worldwide. DNN Social, our newest solution, enables businesses to create immersive, interactive communities. Thousands of organizations like True Value Hardware, Bose, Cornell University, Glacier Water, Dannon, Delphi, USAA, NASCAR, Northern Health and the City of Denver have leveraged DNN to deploy highly engaging business- critical websites. Our rapid growth in product sales and deployments resulted in DotNetNuke Corp. being named one of the fastest growing private companies in America by Inc. Magazine in 2011 and 2012.