Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support Maybellyne

    (@maybellyne)

    Hello @dean_l

    Thanks for reaching out about your redirected URL. Since you made the redirect with another plugin, the Yoast SEO-generated XML sitemap isn’t able to exclude it.

    Thread Starter dean_l

    (@dean_l)

    Hi Maybellyne, thank your for reply. Can I use Yoast free plugin to add redirect? I don’t want to pay premium just to redirect one page. Or if I can not make redirect with free Yoast plugin, how can i remove this page from sitemap? Have to be some way that is could be removed?

    Thanks

    Plugin Support Maybellyne

    (@maybellyne)

    The Yoast SEO doesn’t have a redirect manager. It seems the page in question is a category. You can exclude it from the sitemap by adding a noindex tag. That also means it won’t be indexed or show up in search results.

    Please navigate to WordPress > Posts > Categories and edit the category. Scroll down to the advanced tab of the Yoast SEO meta box. For the option, Allow search engines to show this Category in search results?, choose NO.

    • This reply was modified 1 year, 1 month ago by Maybellyne.
    Thread Starter dean_l

    (@dean_l)

    Hi Maybellyne

    Sorry, but I need category to be crawled. Case here is that we removed ‘category’ from url in permalinks, which mean that url that need to be removed is

    https://www.mcdental.com.au/category/news/

    But category need to be indexed, as News are still there

    https://www.mcdental.com.au/news/

    We just remove ‘/category/’ from permalinks, but for some reason it’s still added to sitemap. I was thinking that it will not be added to sitemap by Yoast, as in WordPress settings, all URL are now do not have category visible. Therefore solution have to be not to noindex category that is live, but to remove specific URL, is there a function file code for this?

    Plugin Support Maybellyne

    (@maybellyne)

    No, the Yoast SEO plugin does not have a feature to remove a redirected URL from the sitemap

    Thread Starter dean_l

    (@dean_l)

    Can I then add some code or command to manually remove url? anything to remove https://www.mcdental.com.au/category/news/ form the sitemap? As if sitemap is created with wrongfully included URL, must there be some manual override to fix it?

    Thread Starter dean_l

    (@dean_l)

    Hi Maybellyne, is there any way to edit sitemap? Except going into page and checking NO for Allow search engines to show this Category in search results?

    Thanks a lot for your time.
    Its important for me to understand how plugin work with sitemap in detail, so I know what can be achieved.
    ??

    Plugin Support Maybellyne

    (@maybellyne)

    Can I then add some code or command to manually remove url?

    I’m not aware of a code or command to manually remove the URL

    is there any way to edit sitemap?

    Since the sitemap is created automatically as you generate content, it’s not an editable file you can access.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Redirected url appear in sitemap’ is closed to new replies.