Title: Duplicated HTML code
Last modified: March 26, 2021

---

# Duplicated HTML code

 *  Resolved [knowstuff](https://wordpress.org/support/users/knowstuff/)
 * (@knowstuff)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/duplicated-html-code/)
 * Hey!
 * I don’t know why, but If I check the source code of my web stories now, the HTML
   is duplicated, like in this exemple:
 * [https://knowstuff.com.br/web-stories/12-otimizacoes-de-seo-para-pagespeed/](https://knowstuff.com.br/web-stories/12-otimizacoes-de-seo-para-pagespeed/)
 * This did not happen before:
 * view-source:[https://knowstuff.com.br/web-stories/5-tendencias-de-seo-para-2021/](https://knowstuff.com.br/web-stories/5-tendencias-de-seo-para-2021/)
 * I am sending this because I had more than 1.000 Session per day with my stories
   and now it’s basically zero (it’s all valid on the tools and the content has 
   even more quality, attending to basically every warning of the plugin).
 * The only thing that changed was that I started using Wp Rocket and Imagify to
   compress images. But this duplicate HTML issue happened before that…Is that normal?`
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fduplicated-html-code%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 10 replies - 1 through 10 (of 10 total)

 *  [Luckyna San](https://wordpress.org/support/users/luckynasan/)
 * (@luckynasan)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/duplicated-html-code/#post-14239110)
 * Hello there, [@knowstuff](https://wordpress.org/support/users/knowstuff/)! Thank
   you for reaching out with your topic. I’ll be happy to investigate this, but 
   could you please share the following details to try and determine the cause:
 * 1.) Does this issue occur if Web Stories is activated alone? Have you tried to
   use the [Health Check & Troubleshooting plugin](https://wordpress.org/plugins/health-check/)
   and enable its [troubleshooting mode](https://make.wordpress.org/support/handbook/appendix/troubleshooting-using-the-health-check/#troubleshooting).(
   Note: this mode only affects the experience of the logged-in user.)
 * – Enable the [Web Stories plugin](https://jmp.sh/dw3iCRp) alone and let me know
   if the issue is present.
    – Enabling plugins and your theme one by one in this
   mode to pinpoint which is the conflicting plugin/theme. – Note you can [disable troubleshooting mode](https://jmp.sh/uErQi8t)
   from the plugins page.
 * 2.) Please share your [Site Health](https://i.imgur.com/Rtkmsba.png) information
   that can be submitted privately using [this form](https://docs.google.com/forms/d/e/1FAIpQLSd-AeFLOIJd4NLYz7EDUa9vMfzZIoT5Bn1leV3dL2CM_B1C6Q/viewform)
 *  Thread Starter [knowstuff](https://wordpress.org/support/users/knowstuff/)
 * (@knowstuff)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/duplicated-html-code/#post-14239232)
 * [@luckynasan](https://wordpress.org/support/users/luckynasan/)
 * I tried the Health Check & Troubleshooting plugin and it still has the same problem…
   I shared my site info with you!
 *  [Luckyna San](https://wordpress.org/support/users/luckynasan/)
 * (@luckynasan)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/duplicated-html-code/#post-14239904)
 * Thanks for sharing your Site Health information! While I take a look into your
   setup, could you share:
 * – Does this issue occur if Web Stories is activated alone?
    – Are any elements
   duplicated in your story?
 *  Thread Starter [knowstuff](https://wordpress.org/support/users/knowstuff/)
 * (@knowstuff)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/duplicated-html-code/#post-14239945)
 * [@luckynasan](https://wordpress.org/support/users/luckynasan/)
 * There are no duplicate elements in my story and the same happens on preview mode
   also!
 *  Thread Starter [knowstuff](https://wordpress.org/support/users/knowstuff/)
 * (@knowstuff)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/duplicated-html-code/#post-14241133)
 * [@luckynasan](https://wordpress.org/support/users/luckynasan/)
 * Do you have any clue about what caused this duplication?
 * Thanks ( =
 *  [Luckyna San](https://wordpress.org/support/users/luckynasan/)
 * (@luckynasan)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/duplicated-html-code/#post-14241237)
 * [@knowstuff](https://wordpress.org/support/users/knowstuff/) I’ve tested the 
   URL which you shared and it’s validated perfectly without any errors. I am still
   testing on my end. Can you share if this issue subsides when you remove the highlighting
   on the text?
 *  Thread Starter [knowstuff](https://wordpress.org/support/users/knowstuff/)
 * (@knowstuff)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/duplicated-html-code/#post-14241281)
 * [@luckynasan](https://wordpress.org/support/users/luckynasan/)
 * It says its valid for me as well, but I really thing there is something wrong
   because of this big fall an duplicate issue.
 *  [Luckyna San](https://wordpress.org/support/users/luckynasan/)
 * (@luckynasan)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/duplicated-html-code/#post-14241299)
 * We’ll continue to investigate. Please standby for any updates.
 *  Thread Starter [knowstuff](https://wordpress.org/support/users/knowstuff/)
 * (@knowstuff)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/duplicated-html-code/#post-14241328)
 * [@luckynasan](https://wordpress.org/support/users/luckynasan/)
 * Sorry, I just tested your theory for the highlights, and that is it, it worked
   now! I hope that was the problem for my traffic decrease ;-;
 * Thanks for your help and in the next updated please consider fixing this highlight,
   it’s really helpful for me (=
 *  [Luckyna San](https://wordpress.org/support/users/luckynasan/)
 * (@luckynasan)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/duplicated-html-code/#post-14261233)
 * [@knowstuff](https://wordpress.org/support/users/knowstuff/) Hi there, just following
   up that I’ve confirmed this duplicated element is printing correctly in the code
   and as expected for the text highlighting feature. Note that it should not cause
   any issues with the site.
 * We’ll mark this topic as resolved. Of course, please feel free to open a [new support topic](https://wordpress.org/support/plugin/web-stories/#new-post)
   if you experience any issues. Thank you!

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Duplicated HTML code’ is closed to new replies.

 * ![](https://ps.w.org/web-stories/assets/icon.svg?rev=2386543)
 * [Web Stories](https://wordpress.org/plugins/web-stories/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/web-stories/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/web-stories/)
 * [Active Topics](https://wordpress.org/support/plugin/web-stories/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/web-stories/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/web-stories/reviews/)

 * 10 replies
 * 2 participants
 * Last reply from: [Luckyna San](https://wordpress.org/support/users/luckynasan/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/duplicated-html-code/#post-14261233)
 * Status: resolved