1
Vote

DNN Blog and OpenURLRewrite Issue

description

Hi,

I am using DNN blog and Open Url.

The post in blog have the url sitename/blog?Post=419. Rest of the wesbites links are fine

<friendlyUrl defaultProvider="OpenFriendlyUrl">
  <providers>
    <clear />
    <add name="DNNFriendlyUrl" type="DotNetNuke.Services.Url.FriendlyUrl.DNNFriendlyUrlProvider, DotNetNuke.HttpModules" includePageName="true" regexMatch="[^a-zA-Z0-9 _-]" urlFormat="advanced" />
    <add name="OpenFriendlyUrl" type="Satrabel.Services.Url.FriendlyUrl.OpenFriendlyUrlProvider, Satrabel.OpenUrlRewriter" includePageName="true" regexMatch="[^a-zA-Z0-9 _-]" urlFormat="advanced" fileExtension="" />
  </providers>
</friendlyUrl>
pls help

comments

sachatrauwaen wrote Feb 25, 2016 at 8:11 AM

Hi,

Do you see the blog privider in Admin / OpenUrlRewriter ?
Do you un number of rules for blog provider ?

Can you tell which version of dnn ans openurlrewriter you using ?

Regards,
Sacha

devatcdgbrand wrote Feb 29, 2016 at 9:53 AM

Hi,
Thank You for your reply.
Open Url Rewrite version is 1.3.4

I do not see blogprovider under Admin/OpenUrlRewriter. I see the below

UserUrlRuleProvider
TabUrlRuleProvider
CtlUrlRuleProvider

SInce I do not see blogprovider so do not see any rules for it.

sachatrauwaen wrote Feb 29, 2016 at 10:33 AM

Hi,

That's mean the blog provider is not installed rigth.

Do you download them from codeplex ?

From this link :
http://openurlrewriter.codeplex.com/releases/view/169687

Otherwise you have to check the open url providers section in the web.config

Sacha

devatcdgbrand wrote Feb 29, 2016 at 11:41 AM

I installed blogProvider and now do see blogprovider under Admin/OpenUrlRewrite and see 7 next to it

but links still still display http://sitename/blog?Post=425

and not the title of the post

sachatrauwaen wrote Feb 29, 2016 at 12:20 PM

Hi,

That sound good.

You can try to do a clear cache or look in open url rewriter cache.

You need to find the Post=425 for tabid corresponding to the blog page.

Otherwhise if you send me a host access to sachatrauwaen@yahoo.com , i can have a look.

Regards,
Sacha

devatcdgbrand wrote Feb 29, 2016 at 5:15 PM

I emailed you the login details

Thank You.

sachatrauwaen wrote Mar 1, 2016 at 9:09 AM

Hi,

I look at the problem.


I changed :

1) urlFormat="advanced" in line
<add name="OpenFriendlyUrl" type="Satrabel.Services.Url.FriendlyUrl.OpenFriendlyUrlProvider, Satrabel.OpenUrlRewriter" includePageName="true" regexMatch="[^a-zA-Z0-9 _-]" urlFormat="advanced" fileExtension="" />

2) i set the primary portal alias to hwww.transway.ie

3) install a change in the blog url provider to redirect http://sitename/blog?Post=425 to the good one.

But there stay a problem with the generated urls on the blog page
http://www.transway.ie/Default.aspx?tabid=98&Post=428

I try to install simulate on my local machine, without succes. It's working on my local machine.

Can you send me the blog template used on the blog page (which list de blog posts) ?

devatcdgbrand wrote Mar 1, 2016 at 9:48 AM

I see the existing urls are changed now but new blog post same issue.

Thank You very much

I will send the template files. Thank You very much