Title: Javascript and sitemap
Last modified: June 9, 2023

---

# Javascript and sitemap

 *  Resolved [stig59](https://wordpress.org/support/users/stig59/)
 * (@stig59)
 * [3 years ago](https://wordpress.org/support/topic/javascript-and-sitemap/)
 * Hello,
 * I’m a layman in web-building, but an expert in the field told me the sitemap 
   on [](https://changeinlifecoaching.online/page-sitemap.xml)[https://changeinlifecoaching.online/page-sitemap.xml](https://changeinlifecoaching.online/page-sitemap.xml)
   appears to have some javascript running that is loading before the sitemap loads.
   How can I prevent this to happen in a simple way? If it may be conflict with 
   any other plugin I can mention that I have Backuply, Easy WP SMTP, Elementor,
   Really Simple SSL, Site Kit by Google, Wordfence Security and WPForms Lite active.
 * Kind Regards,
 * Stig Ernsund
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fjavascript-and-sitemap%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Suwash Kunwar](https://wordpress.org/support/users/suascat_wp/)
 * (@suascat_wp)
 * [2 years, 12 months ago](https://wordpress.org/support/topic/javascript-and-sitemap/#post-16811228)
 * [@stig59](https://wordpress.org/support/users/stig59/)
 * Thank you for reaching out!
 * Checking the page sitemap, it seems to be redirecting and eventually showing 
   up 404 error.
 * Often, we see problems occur in combination with another plugin or theme. The
   fastest way to rule out any conflict is to **deactivate all non-Yoast plugins
   and switch to a standard theme** like [Twenty Twenty-Two](https://wordpress.org/themes/twentytwentytwo/).
 * Please test this on your development or staging site if you have one. If not,
   we recommend using the [Health Check & Troubleshooting](https://wordpress.org/plugins/health-check/)
   plugin. This plugin has a troubleshooting mode, which **does not affect normal
   visitors to your site**.
 * If you’re unfamiliar with checking for conflicts, we’d like to point you to a
   step-by-step guide that will walk you through the process: [How to check for plugin conflicts](https://yoast.com/help/how-to-check-for-plugin-conflicts/)
 * If you feel uncomfortable doing this yourself or if this does not solve your 
   issue, our [Yoast SEO Premium plugin](https://yoast.com/wordpress/plugins/seo/)
   comes with one year of (technical) support.
 *  Plugin Support [Maybellyne](https://wordpress.org/support/users/maybellyne/)
 * (@maybellyne)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/javascript-and-sitemap/#post-16820871)
 * This thread was marked resolved due to a lack of activity, but you’re always 
   welcome to re-open the topic. Please read [this post](https://wordpress.org/support/topic/read-this-before-your-post/)
   before [opening a new request](https://wordpress.org/support/plugin/wordpress-seo#new-post).

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

The topic ‘Javascript and sitemap’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-seo/assets/icon-256x256.gif?rev=3419908)
 * [Yoast SEO - Advanced SEO with real-time guidance and built-in AI](https://wordpress.org/plugins/wordpress-seo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-seo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-seo/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-seo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-seo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-seo/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Maybellyne](https://wordpress.org/support/users/maybellyne/)
 * Last activity: [2 years, 11 months ago](https://wordpress.org/support/topic/javascript-and-sitemap/#post-16820871)
 * Status: resolved