"/" at the end of url in sitemap

Viewing 12 replies - 16 through 27 (of 27 total)
  • i tried 3 times in different browser – nothing 🙁

    Rank Math free


    I am so sorry but maybe it was happening because the ticket was marked as resolved. Can you please try once more for me?

    If it doesn’t work, you can email them to us on s******@r*********** and include the URL to this ticket.

    We look forward to helping you.

    it’s happened 🙂


    Thank you for contacting Rank Math today.

    It does not look like the code has been added to your functions.php file. Kindly share some FTP access as well in the sensitive data section, I was unable to edit your current theme files.

    Looking forward to helping you. Thank you.



    Thank you for the response.

    I have just logged in and fixed the issue by resaving the sitemap settings on your site. Please take a look at the screen cap on the sensitive data section for reference.

    I hope this helps. Thank you.


    it’s sounds good, thanks a lot.
    but, i have one more question)) currently, my sitemap had products in status “out of stock”. have rankmath some settings, where we can filter product with different status (in stock or out of stock in sitemap?

    Hi there,

    Thanks for the follow up.

    I am glad that the first issue is resolved 🙂

    In regards to the second question, I would suggest that you control this from the Woo Commerce settings > Products > Inventory > Out of stock visibility and then check the option to hide out pf stock items from the catalog. Please take a look at this referenced screenshot here https://snag.gy/vlDFYs.jpg

    You can also filter the URLs of the products that you want to appear on the sitemap by making use of this snippet:

     * Filter URL entry before it gets added to the sitemap.
     * @param array  $url  Array of URL parts.
     * @param string $type URL type. Can be user, post or term.
     * @param object $object Data object for the URL.
    add_filter( 'rank_math/sitemap/entry', function( $url, $type, $object ){
    	return $url;
    }, 10, 3 );

    I hope this info helps.

    about you screen, in my side еthis option has already been enabled. http://prntscr.com/n6sdsk

    Rank Math free


    Unfortunately, Rank Math includes even out of stock items in your sitemap. If you want them to be noindex or remove from sitemap – you can do from.
    1. WordPress Dashboard > Products > Rank Math SEO Meta Box > Advanced.
    2. WordPress Dashboard > Rank Math > Sitemap Settings > Exclude.

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    thanks a lot))


    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/?filter=5#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.


    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 12 replies - 16 through 27 (of 27 total)

The ticket ‘"/" at the end of url in sitemap’ is closed to new replies.