• Hello,

    I have installed your plugin and I have an issue.
    Everything is ok but the main sitemap.xml or sitemap-news.xml are blank. If I choose ctrl+U in chrome for view source I can find all the information from sitemap but I saw that stylesheet is pointing to another location.

    How can I change the xsl stylesheet location? I use a CDN Linker and I have put all my wp-content into the folder “cdn”.

    Wrong stylesheet
    <?xml version=”1.0″ encoding=”UTF-8″?><?xml-stylesheet type=”text/xsl” href=”/wp-content/plugins/xml-sitemap-feed/assets/sitemap.xsl?ver=5.3.3″?>

    Right styelsheet
    <?xml version=”1.0″ encoding=”UTF-8″?><?xml-stylesheet type=”text/xsl” href=”/cdn/wp-content/plugins/xml-sitemap-feed/assets/sitemap.xsl?ver=5.3.3″?>

    How can I change the path to the needed stylesheet?

    Thanks,
    ionica

    The page I need help with: [log in to see the link]

Viewing 4 replies - 16 through 19 (of 19 total)
  • Thread Starter i0n1ca

    (@i0n1ca)

    Yes, the error does come from this plugin but only if a non-existant sitemap is requested. Someone or something must be trying to access the address /sitemap-pt.xml which causes this plugin to try and load a template with the name feed-sitemap-pt.php (which also does not exist). The issue will be addressed in the next version.

    Hello Rolf,

    Do you know aproximatively when the new release will be out? Or can I do a manual fix for this error in order to don’t have any errors generated in logs?

    Thanks.

    • This reply was modified 2 years, 9 months ago by i0n1ca.
    Thread Starter i0n1ca

    (@i0n1ca)

    Hello Rolf,

    I have disabled CDN Linker and linked all upload/plugins/themes folder to default value for wordpress.

    The issue with feed-sitemap-pt.php still occures. Any estimate for a fix? Can you provide me a manual fix?

    Cheers,
    ionica

    Hi, a quick work-around could be to create an empty theme template file feed-sitemap-pt.php and place that in the plugin directory wp-content/plugins/xml-sitemap-feed/views/ … Is that an option for you?

    Thread Starter i0n1ca

    (@i0n1ca)

    Hello Rolf,

    Already tried when I was using CDN Linker. Nothing changed, errors were generated after that.

    I will try now again. Created an empty file called feed-sitemap-pt.php in views folder.

    Link

    I am waiting now to see if any errors are generated.

    Thanks.

Viewing 4 replies - 16 through 19 (of 19 total)
  • The topic ‘White page with wrong xsl file’ is closed to new replies.