Title: xml-stylesheet link not right
Last modified: August 21, 2016

---

# xml-stylesheet link not right

 *  [w0uta](https://wordpress.org/support/users/w0uta/)
 * (@w0uta)
 * [12 years ago](https://wordpress.org/support/topic/xml-stylesheet-link-not-right/)
 * Hi,
 * I have the follow problem. When i look at the source of my sitemap i see the 
   follow:
    <?xml version=”1.0″ encoding=”UTF-8″?><?xml-stylesheet type=”text/xsl”
   href=”//www.domain.tld/main-sitemap.xsl”?>
 * There is missing the http in the xml-stylesheet link.
 * How can i fix this ?
 * [https://wordpress.org/plugins/wordpress-seo/](https://wordpress.org/plugins/wordpress-seo/)

Viewing 1 replies (of 1 total)

 *  [Gal Baras](https://wordpress.org/support/users/galbaras/)
 * (@galbaras)
 * [12 years ago](https://wordpress.org/support/topic/xml-stylesheet-link-not-right/#post-4911382)
 * This is OK. The URL is relative to the protocol used to fetch the sitemap itself.
 * See [here](http://blog.httpwatch.com/2010/02/10/using-protocol-relative-urls-to-switch-between-http-and-https/).

Viewing 1 replies (of 1 total)

The topic ‘xml-stylesheet link not right’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-seo/assets/icon-256x256.gif?rev=3419908)
 * [Yoast SEO - Advanced SEO with real-time guidance and built-in AI](https://wordpress.org/plugins/wordpress-seo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-seo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-seo/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-seo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-seo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-seo/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Gal Baras](https://wordpress.org/support/users/galbaras/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/xml-stylesheet-link-not-right/#post-4911382)
 * Status: not resolved