GlenWin Gold Membership
 Nuke Master Posts:713
.Glen.1/XL-animation_thumb.gif)

 |
| 1/16/2008 8:52 PM |
|
Hi,
Has anyone able to implement friendly URL in Dnn4.8 ??
Friendly URL was worlking in my site ok for DNN4.5.5 but after Upgrade to DNN4.8.0 - it not longer works !
Scott - do I need to download Friendly URL and repeat the install process again? If not then where do I look for to enable Friendly URL ?
BTW in case someone need to know - I am very happy with the DNN4.8.0 upgrade - it performs much better than DNN4.5.5
Cheers
Glen |
|
|
|
|
GlenWin Gold Membership
 Nuke Master Posts:713
.Glen.1/XL-animation_thumb.gif)

 |
| 1/16/2008 9:58 PM |
|
Scott,
I added this urlFormat="HumanFriendly" to the webconfig but still not work ,
{
name="DNNFriendlyUrl"
type="DotNetNuke.Services.Url.FriendlyUrl.DNNFriendlyUrlProvider, DotNetNuke.HttpModules"
includePageName="true"
regexMatch="[^a-zA-Z0-9 _-]" urlFormat="HumanFriendly" />
}
did I miss anything else ?
|
|
|
|
|
Mariette Knap Gold Membership
 Nuke Master Posts:650


 |
| 1/16/2008 10:54 PM |
|
You need to turn that on in the host settings |
|
Mariëtte Knap www.smallbizserver.net |
|
|
GlenWin Gold Membership
 Nuke Master Posts:713
.Glen.1/XL-animation_thumb.gif)

 |
| 1/17/2008 1:16 AM |
|
Hi Mariette
The Friendly Url was always enabled ! ... but I found out the problems was due to BOTH
Browser Language Detection and Language Parameter in URLs For Current Portal were also enabled and that why Friendly URL did not work :)) - btw these are some thing new in DNN 4.8.0
Thanks for the tip anyhow
|
|
|
|
|
sysdev Registered Users
 Nuke Newbie Posts:2

 |
| 1/18/2008 8:34 PM |
|
I'm using DNN 4.8.0 and installed Friendly URL. It's working just fine for me.
I had to alter the installation a bit - as noted below:
- there was no DLL called "/bin/DotNetNuke.HttpModules.UrlRewrite.dll". I added the "Ventrian.FriendlyUrl.dll" to the /bin directory.
- Keys were modified in the web.config, and I commented out the old keys. However, there was an extra key I had to modify, as follows:
{!--{add name="DNNFriendlyUrl" type="DotNetNuke.Services.Url.FriendlyUrl.DNNFriendlyUrlProvider, DotNetNuke.HttpModules" includePageName="true" regexMatch="[^a-zA-Z0-9 _-]" /}--}
{add name="DNNFriendlyUrl" type="Ventrian.FriendlyUrl.DNNFriendlyUrlProvider, Ventrian.FriendlyUrl" includePageName="true" regexMatch="[^a-zA-Z0-9 _-]" urlFormat="HumanFriendly" /}
and ...
{!--{add name="UrlRewrite" type="DotNetNuke.HttpModules.UrlRewriteModule, DotNetNuke.HttpModules" /}--}
{add name="UrlRewrite" type="Ventrian.FriendlyUrl.UrlRewriteModule, Ventrian.FriendlyUrl"/}
as well as ...
{!--{add name="UrlRewrite" type="DotNetNuke.HttpModules.UrlRewriteModule, DotNetNuke.HttpModules" preCondition="managedHandler" /}--}
{add name="UrlRewrite" type="Ventrian.FriendlyUrl.UrlRewriteModule, Ventrian.FriendlyUrl" preCondition="managedHandler" /}
Hope that helps.
D.SCOTT |
|
|
|
|
sysdev Registered Users
 Nuke Newbie Posts:2

 |
| 1/18/2008 8:41 PM |
|
Sorry about the formatting of the above web.config values - I attampted to copy them into the response but the FCK Editor stripped the angle brackets.
On a different note, these are excellent modules, skin objects, skins, and providers. I use them all for my site. Thank you for all the work you have put into this - well worth the price of a Silver Membership.
D.SCOTT |
|
|
|
|
green flash Silver Membership
 Nuke Wiz Posts:132

 |
|
Amit Registered Users
 Nuke Newbie Posts:1

 |
| 2/19/2008 11:06 PM |
|
Build failed with error BC30560: 'RewriterRuleCollection' is ambiguous in the namespace 'DotNetNuke.HttpModules.Config'.
I'm upgrading from 4.05.0 to 4.08.0 on clonned website. Above error popsup when I try to build my website.
I have seen on few forums where people had problems from Host settings but I get an error while building the protal.
I'm stuck with FriendlyUrl.
Heres what I did:
-back up old web.config
-unzip install pkg on dnn root folder
-rename release.config to web.config
-port all the settings from old web.config to new web.config
delete old HttpModules.UrlRewrite.dll
Replace this entry:
<add name="UrlRewrite" type="DotNetNuke.HttpModules.UrlRewriteModule, DotNetNuke.HttpModules.UrlRewrite"/>
with this entry:
<add name="UrlRewrite" type="iFinity.DNN.Modules.FriendlyUrl.UrlRewriteModule, iFinity.FriendlyUrlProvider"/>
Replace the existing ''DNNFriendlyUrl'' provider section with this one :
<add name="DNNFriendlyUrl" type="iFinity.DNN.Modules.FriendlyUrl.DNNFriendlyUrlProvider, iFinity.FriendlyUrlProvider" includePageName="true" regexMatch="[^\+a-zA-Z0-9 _-]" urlFormat="HumanFriendly" redirectUnfriendly="true" doNotRewriteRegex="(\.axd)|(/DesktopModules/)" doNotRedirect="SearchResults;" doNotRedirectRegex="[.]*(/logoff.aspx)" pageExtensionUsage="always" parameterHandling="ordered" ignoreFileTypesRegex="(\.gif)|(\.png)|(\.css)|(\.js)|(\.jpg)|(\.html)|(\.htm)" checkForDupUrls="true" forceLowerCase="false" redirectWrongCase="false" replaceSpaceWith="_"/>
This did not solve the problem. Any thoughts are greatly appreciated.
-Amit
|
|
|
|
|
Marius M Gold Membership
 Nuke Wiz Posts:118

 |
| 2/20/2008 2:52 AM |
|
I have same problemm |
|
|
|
|
Déclic Vidéo Gold Membership
 Nuke Master Posts:781


 |
|
Déclic Vidéo Gold Membership
 Nuke Master Posts:781


 |
|
Déclic Vidéo Gold Membership
 Nuke Master Posts:781


 |
|