Register   Login
     
  Latest Posts  
Create article not using 'edit skin'
by mattbunce on 7/29/2010 10:41 AM
Sexy comments
by mattbunce on 7/29/2010 10:35 AM
RE: NewsArticles slider examples
by kalak on 7/29/2010 9:49 AM
ENH: Like and dislike button
by bennypg on 7/29/2010 8:14 AM
RE: Search for location distance
by Codepoint on 7/29/2010 8:03 AM
RE: delete album in module, but not on server
by aggiebeck on 7/29/2010 7:29 AM
RE: Exporting photos
by aggiebeck on 7/29/2010 6:52 AM
RE: New Attachment Process
by jwinters on 7/29/2010 6:00 AM
RE: Standard template changed
by Aramus on 7/29/2010 4:12 AM
RE: NewsArticles slider examples
by nokiko on 7/29/2010 3:48 AM
  Forums  
Subject: Friendly URL and DNN4.8.0 ?
Prev Next
You are not authorized to post a reply.

Author Messages
GlenWinUser is Offline
Registered Users
Ventrian Master
Ventrian Master
Posts:840


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

GlenWinUser is Offline
Registered Users
Ventrian Master
Ventrian Master
Posts:840


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 KnapUser is Offline
Gold Membership
Ventrian Master
Ventrian Master
Posts:665


1/16/2008 10:54 PM  

You need to turn that on in the host settings


Mariëtte Knap
Microsoft MVP
GlenWinUser is Offline
Registered Users
Ventrian Master
Ventrian Master
Posts:840


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

 

sysdevUser is Offline
Registered Users
Ventrian Newbie
Ventrian 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:

  1. there was no DLL called "/bin/DotNetNuke.HttpModules.UrlRewrite.dll".  I added the "Ventrian.FriendlyUrl.dll" to the /bin directory.
     
  2. 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

sysdevUser is Offline
Registered Users
Ventrian Newbie
Ventrian 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

Ismet DumlupinarUser is Offline
Gold Membership
Ventrian Master
Ventrian Master
Posts:391

1/19/2008 2:04 AM  
sysdev, why don't you use default provider with DNN 4.8, it is coming from Ventrian also :)

Ismet Dumlupinar MCP/MCDST/MCT
Daily DotNetNuke Tips and Tutorials
Install DotNetNuke to Godaddy Root
Dramakor Blog
Daily Life Tips
DotNetNuke Türkçe
AmitUser is Offline
Registered Users
Ventrian Newbie
Ventrian 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 MUser is Offline
Gold Membership
Ventrian Wiz
Ventrian Wiz
Posts:177

2/20/2008 2:52 AM  

I have same problemm

Déclic VidéoUser is Offline
Gold Membership
Ventrian Master
Ventrian Master
Posts:1351


3/22/2008 4:42 AM  

I have the same problem than you.


Pinnacle Studio, proDAD and Boris FX tips and tricks, tutorials... Déclic Vidéo FX
Déclic VidéoUser is Offline
Gold Membership
Ventrian Master
Ventrian Master
Posts:1351


3/28/2008 2:19 AM  

ignore this post


Pinnacle Studio, proDAD and Boris FX tips and tricks, tutorials... Déclic Vidéo FX
Déclic VidéoUser is Offline
Gold Membership
Ventrian Master
Ventrian Master
Posts:1351


3/28/2008 2:20 AM  

ignore this post


Pinnacle Studio, proDAD and Boris FX tips and tricks, tutorials... Déclic Vidéo FX
MadzUser is Offline
Registered Users
Ventrian Newbie
Ventrian Newbie
Posts:3

7/03/2009 3:25 AM  
GlenWin...

your suggestion was Awesome!!..I got it working now..

I unchecked Language Parameter in URLs For Current Portal

But will it have any effect on localization???

Also can I manipulate my pagenames???

You are not authorized to post a reply.
Forums > Projects > Friendly Urls > Friendly URL and DNN4.8.0 ?



ActiveForums 3.7