Post sitemap shows nothig but blog page. It is not listing my posts.

#268844
  • Resolved DII
    Rank Math free

    Hello, I just checked my sitemap.
    I found I have two sitemap links linked with the domain. com/sitemap.xml

    1. domain .com/page-sitemap.XML
    2. domain .com/post-sitemap.XML

    I have one post on my site, unfortunately, the post sitemap shows a blog link but not showing the main post.

    Check the link shared with you.

Viewing 15 replies - 1 through 15 (of 21 total)
  • Tammy
    Rank Math business

    Hello,

    Thank you for contacting Rank Math today, and we apologize for any inconvenience this may have caused.

    For initial troubleshooting, please follow these steps:

    1. Ensure you’re using the latest version of your plugins/theme including Rank Math.

    2. Flush the Sitemap cache by following this video screencast:
    https://i.rankmath.com/xXXhDt

    3. Exclude the Sitemap files of the Rank Math plugin in your caching plugin. The cache could be via a plugin or from the server:
    https://rankmath.com/kb/exclude-sitemaps-from-caching/

    I hope this information is helpful, and please do not hesitate to contact us if you require any additional support.

    Thank you.

    DII
    Rank Math free

    My question is, why is it not including the posts?
    Instead, it’s showing the dynamic blog page.
    Inspect my sitemap URL once Please.

    I use the Hypercache plugin. JUst in case, you want to know it.

    DII
    Rank Math free

    When I use any external sitemap generator tools, they are generating perfectly and including all pages and posts.

    DII
    Rank Math free

    https://imgur.com/undefined

    Check the setting, I also have made changes in the .htaccess file. But nothing worked.

    DII
    Rank Math free

    To help you understand this.

    I have one static homepage and a dynamic blog page with one blog post.

    The sitemap includes everything but the one blog post. I do not understand why is it not including in sitemap-post.xml

    Instead of that, it shows my main dynamic blog page.

    DII
    Rank Math free

    One more thing. You seem to have not noticed.
    The page /blog is in both the sitemap URL of the sitemap-page.xml and sitemap-post.xml

    But it’s not sowing the post URL.

    Please look through the issue carefully instead of pasting preformatted texts.

    Sensitive data includes my site URL also.

    Hello,

    If you don’t see your post is likely because your sitemap is being cached so the steps illustrated by my colleague are correct and you should follow them.

    The reason you see the same page on both sitemaps is that on the post sitemap that is there as the archive page for such post types and in the pages sitemap it’s there because it’s an actual page.

    After following the steps from my colleague please revert back to us if the page is still not showing.

    Looking forward to hearing back from you.

    DII
    Rank Math free

    Already done and then what she’s instructed. Nothing worked.

    I did .htaccess editing
    I added the code in the cache plugin for not caching the rank math, nothing worked.

    I use hyper cache.

    DII
    Rank Math free

    And also, tell me how can I resolve my blog page issue which is appearing in both of the sitemaps.

    I have done mentioned by tammy but nothing happend.

    Hello,

    We might need to check this one over your admin settings and see why a blog post won’t be included in your sitemap.

    Please edit the first post on this ticket and include your WordPress login in the designated Sensitive Data section.

    Please do take a complete backup of your website before sharing the information with us.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    DII
    Rank Math free

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    DII
    Rank Math free

    I do not have any issue with sharing the credentials with you guys. It should fix the sitemap.

    DII
    Rank Math free

    Shared!

    DII
    Rank Math free

    Also, I am working on self-managed hosting and I do not use server cache. It is turned off because it works o Nginx which I do not like. I assure you my hosting server is not caching the sitemap.

    Alternatively, check the cache plugin I have used with WordPress. Its name is hyper cache.

    DII
    Rank Math free

    I have turned off login security so you can log in, could you please do it asap so I can turn the security back on?

Viewing 15 replies - 1 through 15 (of 21 total)

You must be logged in to reply to this ticket.