• Resolved Tony Franco

    (@tony-franco)


    Dear Sirs,

    Thank you by this plugin!

    Please, i have a doubt about the sitemap-news.xml, when i access it with wordpress logged it appears, but if i go to another browser, it shows a blank page… is it normal?

    Other thing, i don´t have knowledge, when i access google news by app, and click in some news that i published it goes directly to website. Some time ago, it was presenting a very light page with less css. Something changed?

    Sorry to disturb you.

    Regards,
    Tony

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi, your sitemap-news.xml is made up of XML which is normally not visible in a browser. The sitemap uses a stylesheet file to make it appear in a browser for human visibility but there might be a problem accessing this stylesheet on your server… If you share me a link to your sitemap, I can verify this for you.

    About the representation with “less css”: you might have been using a mobile plugin or AMP plugin with the option to automatically redirect to AMP version for mobile switched on? In any case, the sitemap plugin does not alter any of your normal pages or posts. It just generates the sitemaps with links to your pages and (latest) posts.

    Thread Starter Tony Franco

    (@tony-franco)

    Hi RavanH,

    Thank you by your reply and informations!

    My sitemap: https://www.eter7.com/sitemap-news.xml

    About the css, i will study because i don´t have this information.

    Regards,
    Tony

    Hi, yes it turns out the news sitemap is not empty (you can see the source with Ctrl+u in most browsers) but the stylesheet is blocked, so your browser does not render the source for human eyes.

    The stylesheet is blocked because some (CDN) plugin converted the URL to https://cdn.eter7.com/wp-content/plugins/xml-sitemap-feed/assets/styles/sitemap-news.xsl which is then blocked becaus by your browser exactly because of the different domain.

    Is there any way you can exclude files from being transported to the CDN?

    Thread Starter Tony Franco

    (@tony-franco)

    Hi RavanH,

    Thank you very much!

    As you asked all the .xsl files were excluded and its showing now at:

    https://cdn.eter7.com/sitemap-news.xml
    https://www.eter7.com/sitemap-news.xml

    What is strange is that for sitemap.xml it´s showing just for:

    https://www.eter7.com/sitemap.xml

    But as you said it´s working for google, just not rendering the source for human eyes…

    Best Regards,

    Tony

    Good to hear that it’s working now 🙂

    BTW you can exclude sitemap-news.xml from CDN too. No need to have that cached. Just make sure to submit the www URL in Google Search Console, not the cdn one.

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

The topic ‘Sitemap is blank’ is closed to new replies.