Sitemap includes pages which are 301

  • Hi guys!
    The sitemap includes 301 pages. How to set the settings so that it won’t include those pages which are redirected?

    thanks!
    Hanna

    • This topic was modified 3 months, 1 week ago by Hanna Sles.
Viewing 9 replies - 1 through 9 (of 9 total)
  • Hello,

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

    It is likely that this is related to caching on your site. Could you please clear your cache & then perform the steps below:

    1. Head over to WordPress Dashboard > Settings > Permalinks

    Hit the save button once.

    2. Go to WordPress Dashboard > Rank Math > Sitemap Settings

    Hit the save button once.

    That should fix the issue.

    If it doesn’t, please do let us know so we can look at this further.

    Hi Michael!
    It did not help, unfortunately.
    I flushed cache several times, I also deactivated Sitemap and deactivated the plug-in. The problem is still the same.
    Hanna

    Hello,

    Apologies for the delay.

    We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WP logins in the designated Sensitive Data section.
    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.

    Hello,

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

    Thank you.

    Hi Hanna,

    Thanks for the access.

    I have been able to reproduce the issue on your site but am having trouble reproducing it on my end. I have passed this on to our development team for closer investigation and we will be getting back to you in a short while.

    We appreciate your continued patience.

    thank you!

    Hello

    We do not exclude the redirected posts so Google can crawl those pages and index the new URLs.

    If you want to exclude them from Sitemap, you can turn those posts/pages into drafts or trash them.

    Hope that helps. Please let us know if you have any further questions, we are here to assist.

    Hi guys!
    I solved my issue by simply removing your plugin and installing Yoast.

    In reality, there are some cases when the pages must be redirected and cannot be trashed.

    F.e., I am using WPML plugin to localize my website. To set the translated pages as homepages to each language, the only option is to redirect them to xxx.com/de/xxxxx to xxx.com/de

    I spent a few days trying to resolve it. Everything turned out pretty easy. Yoast supports my issue and does not include the redirected pages to the sitemap.

    So, if you guys decide to change this option, I will really appreciate it and will switch to your plugin again.

    Thanks!
    Hanna

    Hi Hanna,

    We would imagine the point of keeping the pages and not deleting them is so you can use them in the future? That is not how 301 redirects work. If you redirect something using 301, that is a permanent redirect and basically you are telling Google that the address has permanently changed. That will make Google pass all the link juice to the new URL and leaving the old one naked of all value.

    You might as well just create a new URL.

    Moreover, we leave the posts/pages in the sitemap so Google can see them and they have no problems finding pages that are redirected.

    It is okay if Yoast falls more in line with your idea of an ideal setup but we have our reasons for doing it this way. If you have any published material saying that our method is not correct – we would love to reconsider.

    We wish you the best regardless of what SEO plugin you go with.

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

The ticket ‘Sitemap includes pages which are 301’ is closed to new replies.