sitemap issue

#333060
  • Resolved Md Faizan
    Rank Math free

    please solve this issue in sitemap only show pages I am selected post, pages, category please solve this issue. this is my subdirectory and my main domain works fine but the tech directory has some issues

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

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

    Can you please follow these steps?
    1. Flush the Sitemap cache by following this video screencast:
    https://i.rankmath.com/pipRDp

    2. Exclude the Sitemap files of the Rank Math plugin in your caching plugin. The cache could be via a plugin or from the server. For plugins or Cloudflare, please follow this article:
    https://rankmath.com/kb/exclude-sitemaps-from-caching/

    If the issue persists then please make sure that the Include in Sitemap option is enabled in WP Dashboard > Rank Math > Sitemap Settings. If that is enabled then please navigate to WP Dashboard > Rank Math > Titles & Meta > Posts > Enable Posts Robots Meta and set it as Index. Do the same for the categories.

    That should fix the issue. Please let me know if that does not. We are here to assist.

    I am using the breeze cache plugin and my site is connected with Cloudflare as well. and I use breeze for my main domain its not installed in the tech directory

    Anas
    Rank Math business

    Hello,

    Please make sure that the posts, categories are set to index.

    Then, add this filter in the theme’s functions.php file:

    add_filter( 'rank_math/sitemap/enable_caching', '__return_false');
    

    Here is a guide you can follow to add the filter:
    https://rankmath.com/kb/wordpress-hooks-actions-filters/#functions-php-file

    Hope that helps.

    Looking forward to helping you.

    Thanks, man you are pro

    Anas
    Rank Math business

    Hello,

    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

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

    Thank you.

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

The ticket ‘sitemap issue’ is closed to new replies.