Title: Sitemap links to http instead of https
Last modified: September 17, 2020

---

# Sitemap links to http instead of https

 *  Resolved [copylefter](https://wordpress.org/support/users/copylefter/)
 * (@copylefter)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/sitemap-links-to-http-instead-of-https/)
 * For some reason links in sitemap are targeting to http instead of https despite
   in general wp settings it address is correct. I tried to regenerate map but didn’t
   succeed
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fsitemap-links-to-http-instead-of-https%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [Steve M](https://wordpress.org/support/users/wpsmort/)
 * (@wpsmort)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/sitemap-links-to-http-instead-of-https/#post-13424850)
 * [@copylefter](https://wordpress.org/support/users/copylefter/) Make sure both
   your URLs under Settings > General in WordPress are set to HTTPS.
 * Also, I see you’ve disabled the Dynamically Generate Sitemap setting. This leads
   to stale sitemaps or problems with writing the sitemap so you should enable that
   setting and then FTP to your server and delete all the sitemap.xml files from
   the directory where WordPress is installed. There will be 11 files all ending
   in sitemap.xml
 *  Thread Starter [copylefter](https://wordpress.org/support/users/copylefter/)
 * (@copylefter)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/sitemap-links-to-http-instead-of-https/#post-13429327)
 * Thank you for your answer. Both URLs are HTTPS and I haven’t disabled Dynamic
   generation. But I will delete xmls by FTP.
 *  Thread Starter [copylefter](https://wordpress.org/support/users/copylefter/)
 * (@copylefter)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/sitemap-links-to-http-instead-of-https/#post-13429337)
 * Delete and regenerate works for me.
 *  [Sunny Isles Condos](https://wordpress.org/support/users/sunny-isles-condos/)
 * (@sunny-isles-condos)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/sitemap-links-to-http-instead-of-https/#post-13430080)
 * [@copylefter](https://wordpress.org/support/users/copylefter/) Thank you

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

The topic ‘Sitemap links to http instead of https’ is closed to new replies.

 * ![](https://ps.w.org/all-in-one-seo-pack/assets/icon.svg?rev=2443290)
 * [All in One SEO – Powerful SEO Plugin to Boost SEO Rankings & Increase Traffic](https://wordpress.org/plugins/all-in-one-seo-pack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/all-in-one-seo-pack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-seo-pack/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-seo-pack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-seo-pack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-seo-pack/reviews/)

## Tags

 * [HTTPS](https://wordpress.org/support/topic-tag/https/)
 * [sitemap](https://wordpress.org/support/topic-tag/sitemap/)

 * 4 replies
 * 3 participants
 * Last reply from: [Sunny Isles Condos](https://wordpress.org/support/users/sunny-isles-condos/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/sitemap-links-to-http-instead-of-https/#post-13430080)
 * Status: resolved