• 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)
  • 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

    (@albiont)

    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.

    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

    (@albiont)

    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 6 years, 4 months ago by albiont.
    • This reply was modified 6 years, 4 months ago by albiont.

    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/

    Thread Starter albiont

    (@albiont)

    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Yoast trouble’ is closed to new replies.