Site is not ranking – Possible Sitemap Issue

#574616
  • Resolved Sebastian
    Rank Math free

    I have very big problems with my site which consist of two things but are probably related.
    I have 329 posts but only 280 are indexed. This is not the case for projects where I don’t use Rank Math.
    2. whenever I update a post, post-sitemap2.xml takes a long time to load. I think due to this problem my site is not indexed properly. But this only happens when I update or publish a post. I have already excluded /sitemap in Wp Fastest Cache, but this did not help.
    Please help me, I really don’t know why my site doesn’t rank, even though I have a lot of content. I don’t have such a problem with my non Rankmath projects, something is set up wrong with me. I have attached a screen recording under sensitive data.

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

    Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for any inconvenience this issue may have caused you.

    I’ve checked your /post-sitemap2.xml, and it is also slow upon loading the first time.

    For initial troubleshooting, please check your site’s configuration if there are some PHP values that are too low and which you should increase. You can get in touch with your web host and ask them to set the following values (if not yet):

    PHP Memory Limit: 512M
    Max input time: 150
    PHP time limit: 120
    PHP max input variables: 1000

    Let us know how this goes.

    Thank you.

    I changed and it is still the same..

    Webserver Apache
    PHP-Version 7.4.33 (Unterstützt 64bit-Werte)
    PHP-SAPI fpm-fcgi
    Maximale PHP-Eingabe-Variablen (max_input_vars) 10000
    Maximale PHP-Ausführungszeit (max_execution_time) 180
    PHP-Speicher-Limit (memory_limit) 512M
    Maximale Eingabe-Zeit (max_input_time) 150
    Maximale Dateigröße beim Upload (upload_max_filesize) 200M

    Also, I disabled WP Fastest Cache briefly it was still there.
    These steps https://rankmath.com/kb/exclude-sitemaps-from-caching/ did not work either.
    Even worse, when I upload a new post, it doesn’t appear in the sitemap until I increase the sitemap count under sitemap settings, for example from 200 to 201. This is a huge problem that needs to be fixed.

    Finally i fixed both problems.
    Cache problem:
    I put add_filter( ‘rank_math/sitemap/enable_caching’, ‘__return_false’); into functions.php ( i use child theme) now it caches properly. Is this ok?
    Slow Sitemap Problem
    I use AAWP as affiliate plugin. In 2 posts zero products where listed, after i disabled shortcode it worked. Is there a way to exclude affiliate pictures from aawp in Sitemap?

    Hello,

    The filter you added to the website is used to prevent the transient caching of the sitemaps from our plugin, using that filter the sitemaps will always be loaded from the source and generated on the fly.

    This is essentially removing the caching from the sitemaps.

    Regarding the second part of the question, could you please clarify what you by 2 posts displaying zero products? Are there some pages that should be included in the sitemap that are not appearing at the moment?

    Looking forward to hearing back from you.

    It was a problem with the plugin AAWP where no affiliate products were displayed on two posts, therefore the sitemap loaded slowly. Is there a way to exclude these affiliate images from the sitemap? For example, the structure of the images is like this:
    wp-content/plugins/aawp/public/image.php?url=aHR0cHM6Ly9tLm1lZGlhLWFtYXpv

    As you can see here: https://aurandus.com/geburtsstein-november/

    Each of these images from the plugin also appears in the sitemap, I don’t know if this is intentional and even necessary.

    Hello,

    When our plugin is generating the sitemap it loads the content of the posts to parse the images and if the AAWP plugin was having trouble adding the products to two posts it could explain the issue because our plugin would be waiting for the response from AAWP on those posts.

    Regarding the images, since they are part of the pages it’s completely fine to have them added to the sitemap.

    It’s not possible to remove only those images as the plugin only allows for the images to either be all on the sitemap or all of the sitemap.

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

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

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

The ticket ‘Site is not ranking – Possible Sitemap Issue’ is closed to new replies.