WordPress.org

Ready to get started?Download WordPress

Forums

Google XML Sitemaps
Not working when accessing the dashboard via an SSL URL (3 posts)

  1. Olivier
    Member
    Posted 3 years ago #

    I'm using managing a WP Network using a secure URL (SSL) and the plugin generates SSL URLs for the sitemap instead of the normal ones.

  2. Olivier
    Member
    Posted 3 years ago #

    In Summary there are two problems with the plugin when using FORCE_SSL_ADMIN.
    1)Automatic detection of the sitemap file doesn't work in the backend. https is added to the filename and the URL starts with https. The generated URL will be different when somebody is visiting the site.
    2)Links in the sitemap file that we can access to from the backend are all https links.

  3. arnee
    Member
    Plugin Author

    Posted 3 years ago #

    Hi Olivier,

    the plugin doesn't generate any links by itself but uses the WP API with functions like get_bloginfo('url') to get the Blog URL and get_permalink() to get the post URLs. I could add a workaround by changing the results of the API calls to http, but I really think this issue needs to be fixed somewhere else.

    I guess when you open the edit post screen and click the Preview button, it also opens the post on your main site with https, right?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic