• Resolved gregs.legs

    (@gregslegs)


    Hi,

    Nice plugin. All works well but I get a blank line on sitemap.xml for each excluded post or page. More spcifically several lines of: <url><loc/></url>
    Google says:

    Sitemap can be read, but has errors
    Invalid URL
    9 instances
    This is not a valid URL. Please correct it and resubmit.
    Examples
    URL:
    Line 3
    Parent tag:
    url
    Tag:
    loc
    URL:

    Cheers

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Kybernetik Services

    (@kybernetikservices)

    Hello @gregslegs.
    Thank you for reaching out.
    Could you please explain more in details the steps to reproduce the error so, I can have a deeper look into this topic?!
    Thank you!

    Plugin Author Kybernetik Services

    (@kybernetikservices)

    Dear @gregslegs.
    I did a research regarding your issue and can confirm it. Unfortunately it is not in my scope to fix it because it is produced by WordPress core. So, I openend a ticket to fix this here.
    I’ll keep an eye on this and will give you a reply as soon as I know this issue is fixed.

    Plugin Author Kybernetik Services

    (@kybernetikservices)

    Hell @gregslegs .
    Thanks to the WP core team I could modify the way to exclude the posts from the sitemap.
    I could upload the version 2.0.3 which includes the fix. The empty lines are gone, now.
    Could you please double check and let me know if it works for you?!

    Thread Starter gregs.legs

    (@gregslegs)

    Hi,
    I just tried 2.0.3: the posts and pages are no longer being excluded from the sitemap which is worse than before. Am I missing something ??
    Regards,
    Greg

    Plugin Author Kybernetik Services

    (@kybernetikservices)

    Hello @gregslegs .
    I tested it once more and can confirm pages won’t exclude anymore. Posts will be excluded.
    This behavior is fixed with version 2.0.4 qhich was released right now.
    Please update and let me know if it works for you.
    Thanks!

    Thread Starter gregs.legs

    (@gregslegs)

    Version 2.0.4 works perfectly.
    Thank you 🙂
    Greg

    Plugin Author Kybernetik Services

    (@kybernetikservices)

    Thank you @gregslegs for your reply.
    Would you mind sharing your positiv expirences with WP Sitemaps Config and my support with the world?
    Leaving your review here would be very helpful.
    Thank you in advance!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Blank lines when excluding single posts and pages’ is closed to new replies.