Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...DNN 4.9.5 Problem with Crawlers (Googlebot etc.)DNN 4.9.5 Problem with Crawlers (Googlebot etc.)
Previous
 
Next
New Post
2/12/2010 8:03 AM
 

Hi,

I've originally posted this question in the New to DNN section of the forum (http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/197/threadid/352838/scope/posts/Default.aspx) and gotten a reply that it's not possible to submit this as an official issue on the DNN Support site, since it's not dealing with DNN version 5.x.

There is a serious issue with DNN 4.9.5, and I 'm hoping that someone has already dealt with this or that someone can provide some instructions on how to get this fixed.

The issue has to do with module caching and output for crawlers (such as Googlebot). A similar issue with caching for crawlers was reported before, and was apparently fixed in 4.9.5 - http://support.dotnetnuke.com/issue/ViewIssue.aspx?id=10419&projid=2.

Version of DNN is 4.9.5.

If the module cache is empty and a request comes from a client that DNN recognizes as a crawler, then module content is duplicated.

Steps to reproduce:

1. DNN upgrade from 4.9.0 to 4.9.5

2. Add a Text/HTML module to Left Pane.

3. Edit the module, and enter some text, for example "Hola."

4. Restart IIS or the DNN web site - or in some otehr way make sure that the moduel cache is empty.

5. Simulate requesting the page as a crawler, I used Fiddler with User-agent set to:

Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)

6. Examine the reponse, you will find "Hola." repeated twice, for example:

<td id="dnn_LeftPane" valign="top" class="LeftPane"><a name="371"></a><span id="dnn_ctr371_ContentPane" class="DNNAlignleft"><!-- Start_Module_371 --><div id="dnn_ctr371_ModuleContent">
    <div id="dnn_ctr371_HtmlModule_lblContent" class="Normal">
        <p>Hola.</p>
    </div>
<div id="dnn_ctr371_HtmlModule_HtmlModule_lblContent" class="Normal">
        <p>Hola.</p>
    </div>
<!-- End_Module_371 -->
</div></span>
</td>

Any help is appreciated.

Thank you.

 
New Post
2/12/2010 4:36 PM
 

There is an idea that you can update the App_Browsers folder with the definitions that are contained within DNN 5.x, and supposedly that will fix it.


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
2/13/2010 1:35 PM
 
Hi Mitchel, Thanks for the suggestion - I will try that. I do want to clarify though - how will this fix the issue? Will this mess up the DNN's ability to detect crawlers? As I understand, some modules might depend on this detection mechanism since they render content differently for crawlers.
 
New Post
2/15/2010 1:37 PM
 

Hi Mitchel,

I tried your suggestion - replaced the contents of the 4.9.5 App_Browsers folder with the App_Browsers folder from the latest 5.x version, and the same issue is still apparent.

Any other ideas?

Is there any chance that an official pacth for this will be released or at least instructions on how this can be fixed?

 
New Post
2/26/2010 7:51 AM
 
Hi, By the lack of response I guess that an official patch for this isn't going to happen. Can somebody please help me out and point me to where I should look to fix this in the DNN source files?
 
Previous
 
Next
HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...DNN 4.9.5 Problem with Crawlers (Googlebot etc.)DNN 4.9.5 Problem with Crawlers (Googlebot etc.)


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out