Sitemap index conflict

#245011
  • Resolved Samridh Dokania
    Rank Math free

    There’s a conflict with the plugin, yith custom role account changer, and we get this error with the sitemap:

    error on line 1 at column 10: XML declaration allowed only at the start of the document

    On deactivating the plugin, it works fine.

    But we can’t deactivate that plugin, so can you please help?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello,

    Thank you for contacting us and sorry for any inconvenience that might have been caused due to that.

    Since you already identified the plugin causing this issue you need to look inside the files from that plugin for any PHP files with extra white spaces that are adding that same space in the sitemap and thus throwing this error.

    This can also happen if that plugin has files with exclusively PHP code but it’s still having the closing PHP tag.

    Hope this helps solve your issues.

    Don’t hesitate to get in touch if you have any other questions.​​​​​

    How do we do this?

    Fixed it. Thanks

    Anas
    Rank Math business

    Hello,

    We are glad the issue is resolved.

    If you have any questions in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you.

    Thank you.

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

The ticket ‘Sitemap index conflict’ is closed to new replies.