DIVI Theme and Yoast Conflict (Sitemap)
-
Hi,
I have started using YOAST SEO for my new blog website where I am using DIVI theme. I see that Yoast SEO is conflicting with DIVI theme.
Instead of showing proper 404 Page Not Found page, it shows all the shortcodes of the page and fills up the screen. I have seen lots of website where all users that have started using DIVI have complained about it. It looks so bad when the whole page breaks up into shortcodes.
Can someone please let me know if YOAST dev team is looking after this issue ?
-
Hello @raeeskhan
Could you please confirm you are using the latest version of Yoast SEO for WordPress v14.2 and your DIVI theme?
Could you please provide us with a URL along with a sample screenshot or two where instead of showing a 404 page, it shows the broken shortcodes? Does this occur for the sitemap index generated by the Yoast SEO plugin?
Hi Michael,
Everything is updated to the latest versions for WORDPRESS, YOAST, and DIVI Theme. You may easily reproduce this problem on your test setup.
The /sitemap_index.xml URL is working fine. However, just to check, when I visited my website with /video-sitemap.xml, this is where I observed the problem.
https://www.abc.com/video-sitemap.xmlPlease See the image below:
https://pasteboard.co/Jc65ieM.jpgInitially, I thought, since I am not generating video video sitemap, I could use a workaround and have .htaccess to redirect my request to Page 404. However, the problem was even more worse when I tried multiple combinations with this /xyz-sitemap.xml. For instance, if I open the following links on my website, they all show the same problem. Instead of redirecting this to 404 Page, it shows the whole screen full of short codes.
https://www.abc.com/ssssss-sitemap.xml
https://www.abc.com/ddddd-sitemap.xml
https://www.abc.com/dfdffdd-sitemap.xmlThis is where I contacted you guys and DIVI at the same time. As per DIVI support guy, he mentioned that YOAST has the following Bug opened for the same issue.
https://github.com/Yoast/wordpress-seo/issues/12302I have searched on Internet and have really found numerous comments where people are uninstalling Yoast for these small issues. The reason is obvious they cannot uninstall whole DIVI theme and they just uninstall the plugin.
My request to YOAST Team: I am not sure whose problem is this (Either Yoast / DIVI) but I know for the fact that both Yoast and DIVI are good products and they should have a good collaboration to deal with such issues. If this is DIVI issue, they should resolve it and as a client, all I am requesting here is just the follow up on this issue with them. Even if this is not Yoast’s problem, your team should contact DIVI and engage them to resolve this issue, because this really looks ugly when your whole screen is full of short codes.
Thank you for considering.
Hi,
We understand that on your sitemap pages that some of them show shortcodes instead of showing a 404.
Did you resolve this? We ask as we went https://abc.com/ssssss-sitemap.xml and https://abc.com/video-sitemap.xml and they both show a 404 rather than shortcodes. See image: https://pasteboard.co/Jc8KtLe.png
Hi Pcosta88,
Sorry about that but I just gave an example as abc.com or xyz.com
They are not the original domains.
If you simply install Yoast with divi theme. It will show you right away. If you could use your own test domain name and then use /video-sitemap.xml or /sssss-sitemap.xml, you will see the problem as i showed in my previous post.
@raeeskhan Thanks for your response. We did try recreating the issue your are experiencing, and installed Divi with Yoast SEO active, but were unable to replicate the problem.
The video-sitemap.xml URL on the test site displayed as expected (see image here), and the 404 page for the ssssss-sitemap.xml sitemap URL displayed a typical 404 page (see image here).
Can you please try checking for any other plugin conflicts by checking whether the issue still occurs with only Divi and Yoast SEO active? We also have a guide on checking for plugin conflict available here: https://kb.yoast.com/kb/how-to-check-for-plugin-conflicts
Hi devnihil,
I have followed the steps you shared and did troubleshooting. When I enabled Troubleshooting mode, I also enabled Yoast SEO Plugin alone. It did work well. Meaning that It was forwarding me to 404 Page which is the expected behavior.
At that time, I couldn’t enable my DIVI theme since the troubleshooting mode requires only default theme.However, I kept all other plugins disabled and just enabled DIVI and YOAST (after disabling troubleshooting mode), I saw the errors again.
So I can conclude that this is most probably the issue with DIVI theme rendering the output. But it comes only with combination of (YOAST+DIVI). I told this to DIVI support guy and he said he will escalate this and may get resolved in future.
At the same time, when you may close this ticket, I would request if you guys could just put it in your follow up list with them ??
Hi @raeeskhan
Thank you for getting back to us. Could you please try using the Health Check plugin and enabling troubleshooting mode again? You can enable Yoast SEO for WordPress v14.2 and also enable the DIVI theme from the default TwentyTwenty theme. Could you then try to check the /video-sitemap.xml URL and see if it loads a proper 404 page or does it show the shortcodes?
We did the same (using Troubleshooting mode of the Health Check plugin and the Yoast SEO plugin and DIVI theme enabled) and were unable to get the shortcodes in the sitemap URL.
Hi Michael,
I am glad that you guys are really trying hard to reproduce it. I would love to reproduce the problem again ??
Surprisingly, I don’t see the problem now after I followed the steps to enable troubleshooting mode. This mode disabled all plugins and DIVI Theme which later I re-enabled.
I know other websites that are using DIVI and Yoast where they have the problem but they might not know. Of course, I have informed some of them.
Therefore, to reproduce it again, I have used my other personal website to install YOAST there and replicated exactly the same thing there. You can visit it to see the problem.
https://www.raeeskhan.com/video-sitemap.xml
https://www.raeeskhan.com/ssssss-sitemap.xml
https://www.raeeskhan.com/ddddddd-sitemap.xmlNote: My actual website problem has been resolved after the plugin(s) got disabled/enabled.
Let me know if I could be of any further assistance.
Hi @raeeskhan,
Thank you for following up.
Looking at your personal site, we see that the full Divi CSS is shown inline and is shown in the Yoast output (see here). Are you using any caching plugin on your personal site? If not, can you check if the Divi builder caching is enabled under Divi → Theme Options → Builder (tab) → Advanced (tab) → “Static CSS File Generation” and the second “Output CSS inline”. Please check if disabling the first option fixes that issue. While we are not sure this would solve the sitemap issue, the big CSS output before the meta tags on the page can cause social platforms not to pick up the metadata for the pages.
Apart from that. We looked at the 2 non-existing sitemaps you mentioned, and do see the shortcodes not being applied. The HTTP header is a 404 so that is good. The shortcodes not being visible is because the Divi builder does not load on these XML pages Yoast SEO creates. We do see them working when we test another non-existing page such as here.
Having said this all of the above, non-existing sitemap URLs like the above are never to be crawled. We expect this to have no or very little impact. If you submit your sitemap-index.xml in Google Search Console, Google should see the sub-sitemaps just fine.
Hope this explains.
Hi Jeroen,
Thank you for the explanation. That “Static CSS file” is already disabled. In fact, I enabled it to clear the cached and disabled it again. The problem still persists.
Just to make sure no plugin is conflicting. I had other plugins AutoOptimize and ShortPixel AI and more. I have deactivated all of them.
Now my website is Activated with only 1 Plugin Yoast SEO and 1 Divi Theme. I checked it on multiple browsers to verify that this is not coming from my Cache. I still see the problem.
An By the way, from my other website, which was fixed surprisingly, I dont know how. It started showing this problem again today ??
Hi @raeeskhan,
Thank you for sending us more information. You mentioned another bug report, but we’d like to check whether you tried adding the code mentioned in the related issues below:
wpseo_sitemap_content_before_parse_html_images: https://github.com/Yoast/wordpress-seo/issues/12304
wpseo_enable_xml_sitemap_transient_caching: https://github.com/Yoast/wordpress-seo/issues/14581
We appreciate your patience and help with this.
Hi Priscilla,
I have tried both. Issues mentioned in those threads do not seem to be my issue.
The issue still persists.
-
This reply was modified 4 years, 5 months ago by
Raees.
We are sorry to see that you’re still experiencing the issue. We have just tried reproducing the issue again on our end by using a fresh WordPress installation with the Divi + Yoast SEO and were unable to reproduce the issue on our end.
To investigate the issue further, we’d need to take a deeper look at your setup. Since this is a public forum, we can’t do this here. You can purchase Yoast SEO Premium and receive our Premium email support and we can help you further.
Hi Mazedul,
Thank you for putting your efforts into this. I installed YOAST SEO Plugin to test and make sure that it is compatible and works fine with DIVI. Right now I need to see how things go.
Where I have bought other Plugins and DIVI theme, I am willing to buy Yoast SEO plugin as well. The point here is that I just want to buy this plugin after I notice no basic issues with it.
The question is How Can I help you guys reproduce this issue. And here is what I can do:
If that is okey with you guys, I can provide you access to my personal website to see the issue further. You can play with it and observe the issue. Its just 3 pages I have installed there on my website and I have a backup for it. (So Nothing to worry)Let me know if you guys are interested. You may let me know how to share my credentials.
In other case, you may close this ticket and I really appreciate your provided help and support.
-
This reply was modified 4 years, 5 months ago by
- The topic ‘DIVI Theme and Yoast Conflict (Sitemap)’ is closed to new replies.