Sitemap Blank Page – Not Working With HTTPS
-
I force ssl on wp-admin area using https (as everyone should) and have found that this causes the XML sitemap feature of all in one seo pack to break.
While logged in using https I found that clicking “update sitemap” and then navigating to https://www.example.com/sitemap.xml resulted in a blank page. I tried viewing source and did see the sitemap but the url to the xml stylesheet is using https instead of http.
From my source:
<?xml version="1.0" encoding="UTF-8"?> <!-- Sitemap file 'sitemap' statically generated by All in One SEO Pack 2.1.4 by Michael Torbert of Semper Fi Web Design on Fri, 11 Apr 2014 22:18:23 UTC --> <?xml-stylesheet type="text/xsl" href="https://www.mysite.tld/wp-content/plugins/all-in-one-seo-pack/sitemap.xsl"?>
So, if I then navigate to https://www.example.com/sitemap.xml I see the sitemap just fine, but I don’t think I can submit https to google. The compressed version also contains the link to the xml stylesheet using https as well.
I verified this by also temporarily reconfiguring things to login to wp-admin area insecurely using http and found the sitemap xml stylesheet does use http in the source.
Is there a way to work around this for now? Logging in to update my sitemap using http is NOT an option. I am blown away by how many people still access wp-admin without SSL.
- The topic ‘Sitemap Blank Page – Not Working With HTTPS’ is closed to new replies.