• Resolved gunadurai

    (@gunadurai)


    Dear support team,

    We want to remove /add_to_wishlist=8024 URL from sitemap.xml

    Could you please let me know how to do that?

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hi there

    I just checked your sitemap, and I couldn’t find any reference to add_to_wishlist=8024

    In any case, add_to_wishlist parameter is just added to some buttons inside the page, and shouldn’t be considered in any way when generating sitemap (they are generated starting from the posts/pages/products registered on your store)

    It may happen that you see that parameter being registered in your tracking tools, such as Google Analytics, that crawls your pages; anyway by default all ATW buttons contain rel="nofollow" attribute, so this shouldn’t be the case
    In this latter case I suggest you to review templates defined inside your theme or child folder, searching for add-to-wishlist.php or add-to-wishlist-button.php templates, in root path or uner /woocommerce subpath; if you can find them try to rename them to add-to-wishlist.php.bak and add-to-wishlist-button.php.bak respectively and scan again your site, to see if nofollow correctly applies this time

    • This reply was modified 4 years, 8 months ago by YITHEMES.
    Thread Starter gunadurai

    (@gunadurai)

    I have renamed this files under theme/woocommerce add-to-wishlist-button.php.bak after running https://www.xml-sitemaps.com/ also generating lot of wishlist urls add_to_wishlist=***

    Please refer this screenshot: https://ibb.co/92vsj69

    Thread Starter gunadurai

    (@gunadurai)

    Please refer this screenshot also: https://ibb.co/PwnZp4k

    Plugin Author YITHEMES

    (@yithemes)

    Hi again

    I just checked your site, and I can see that on the loop the Add to Wishlist button still doesn’t contain rel=”nofollow” attribute, that would prevent crawlers from following it

    I suppose this is because that button is added as a theme customization, and just ignores plugin template
    For this reason I think that the best option for you is to contact theme developers, and ask them if they could
    1. update wishlist templates bundled within the theme
    2. add rel=”nofollow” to the Add to Wishlist button on the loop (by the way, since version 3.x wishlist officially supports ATW buttons on the loop, so they may consider to give style to those, instead of adding their own buttons)

    Thread Starter gunadurai

    (@gunadurai)

    Dear support team,

    As per suggestion added rel=”nofollow” for wishlist button links, After tested still generating urls add_to_wishlist=***

    Please refer this screenshot: https://ibb.co/92SKdRc

    Thread Starter gunadurai

    (@gunadurai)

    I have cleared cache then run sitemap it’s working now

    Thanks for your help!!!!!!

    Plugin Author YITHEMES

    (@yithemes)

    You’re welcome!

    If you enjoy our plugin, please take a moment to leave a review; it would be very important for us ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Need to remove from sitemap.xml /add_to_wishlist=8024’ is closed to new replies.