Title: Plugin submits http sitemap on https only websites
Last modified: August 21, 2016

---

# Plugin submits http sitemap on https only websites

 *  Resolved [db434](https://wordpress.org/support/users/db434/)
 * (@db434)
 * [12 years ago](https://wordpress.org/support/topic/submits-http-sitemap-on-https-only-website/)
 * My site is completely https and http links 301 redirect to the https equivalent.
   Both versions of the site are registered with google webmaster tools. It appears
   that your plugin only pings google with the non-existent http sitemap and not
   the correct https version. The plugin should either correctly detect this, or
   offer a manual menu/settings option to pick the correct sitemap type (http/https)
   so that https sites are supported. This is especially important as google starts
   courting the idea of offering an SEO boost to sites that are https only.
 * [https://wordpress.org/plugins/google-sitemap-generator/](https://wordpress.org/plugins/google-sitemap-generator/)

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

 *  [Arne](https://wordpress.org/support/users/arnee/)
 * (@arnee)
 * [12 years ago](https://wordpress.org/support/topic/submits-http-sitemap-on-https-only-website/#post-4928437)
 * Hi,
 * The plugin i using the WordPress API function `get_bloginfo('url')` to get the
   URL to your WordPress installation. This function should return the URL you have
   defined in the WordPress admin panel (under General).
 *  Thread Starter [db434](https://wordpress.org/support/users/db434/)
 * (@db434)
 * [12 years ago](https://wordpress.org/support/topic/submits-http-sitemap-on-https-only-website/#post-4928449)
 * Thank you Arnee for the quick response. That resolved my issue. I missed that
   setting when I migrated my site to full https. Thanks again for your plugin and
   the work you do!

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

The topic ‘Plugin submits http sitemap on https only websites’ is closed to new 
replies.

 * ![](https://ps.w.org/google-sitemap-generator/assets/icon-256x256.png?rev=2713572)
 * [XML Sitemap Generator for Google](https://wordpress.org/plugins/google-sitemap-generator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-sitemap-generator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-sitemap-generator/)
 * [Active Topics](https://wordpress.org/support/plugin/google-sitemap-generator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-sitemap-generator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-sitemap-generator/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [db434](https://wordpress.org/support/users/db434/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/submits-http-sitemap-on-https-only-website/#post-4928449)
 * Status: resolved