Title: Yoast trouble
Last modified: October 26, 2018

---

# Yoast trouble

 *  [albiont](https://wordpress.org/support/users/albiont/)
 * (@albiont)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/yoast-trouble/)
 * My host supports https but, at the time of creating the sitemaps in the xml, 
   all the URLS have http.
 * How can I change this?

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

 *  [cleancoded](https://wordpress.org/support/users/cleancoded/)
 * (@cleancoded)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/yoast-trouble/#post-10820467)
 * Yoast creates the XML sitemaps dynamically. As long as your site URL is using
   https, the links in your sitemap_index.xml from Yoast should reflect this. You
   can always try saving permalinks, even if you make no changes, and then try refreshing
   your sitemap.
 *  Thread Starter [albiont](https://wordpress.org/support/users/albiont/)
 * (@albiont)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/yoast-trouble/#post-10820480)
 * Thx, I tried this but it doesn’t work.
 * Maybe I’ve set up something wrong in my host. The only thing I did consisted 
   on activating SSL in Dreamhost.
 *  [cleancoded](https://wordpress.org/support/users/cleancoded/)
 * (@cleancoded)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/yoast-trouble/#post-10820497)
 * And your site URL is set to a https version of your domain?
 * If yes, can you try disabling and reenabling XML Sitemap? From WordPress backend,
   go to SEO > Sitemap XML and disable, save, then reenable and save.
 *  Thread Starter [albiont](https://wordpress.org/support/users/albiont/)
 * (@albiont)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/yoast-trouble/#post-10820509)
 * thx again.
 * It’s solved. My URLs had changed to http… I don’t know why.
 * But I have another question.
    Why my home page is redirected from http to https
   and not the rest of pages?
 * I’m a newbe as you can see 🙂
    -  This reply was modified 7 years, 8 months ago by [albiont](https://wordpress.org/support/users/albiont/).
    -  This reply was modified 7 years, 8 months ago by [albiont](https://wordpress.org/support/users/albiont/).
 *  [cleancoded](https://wordpress.org/support/users/cleancoded/)
 * (@cleancoded)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/yoast-trouble/#post-10820699)
 * There are a few ways to redirect pages from http to https — at the server level,
   with a plugin, or my favorite — with page rules, like with Cloudflare-hosted 
   DNS.
 * Here are some of the most common ways to redirect pages from http to https:
 * [https://kinsta.com/knowledgebase/redirect-http-to-https/](https://kinsta.com/knowledgebase/redirect-http-to-https/)
 *  Thread Starter [albiont](https://wordpress.org/support/users/albiont/)
 * (@albiont)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/yoast-trouble/#post-10820928)
 * Thanks!

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

The topic ‘Yoast trouble’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 2 participants
 * Last reply from: [albiont](https://wordpress.org/support/users/albiont/)
 * Last activity: [7 years, 8 months ago](https://wordpress.org/support/topic/yoast-trouble/#post-10820928)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
