{"id":18102,"date":"2011-04-08T23:02:33","date_gmt":"2011-04-08T17:32:33","guid":{"rendered":"https:\/\/www.quickonlinetips.com\/archives\/?p=18102"},"modified":"2026-10-13T13:39:31","modified_gmt":"2026-10-13T08:09:31","slug":"fix-duplicate-content-remove-wordpress-replytocom-urls-from-google","status":"publish","type":"post","link":"https:\/\/www.quickonlinetips.com\/archives\/2011\/04\/fix-duplicate-content-remove-wordpress-replytocom-urls-from-google\/","title":{"rendered":"How to Remove WordPress replytocom URLs from Google (2026 Fix)"},"content":{"rendered":"<p>Seeing URLs like <code>yourpost\/?replytocom=12345<\/code> in Google or in Search Console? WordPress used to add a <strong>replytocom<\/strong> parameter to every comment &#8220;Reply&#8221; link, creating a separate URL for each comment, which can mean hundreds of duplicate copies of the same post for search engines. Here&#8217;s how to check if your site still has the problem in 2026 and how to remove replytocom URLs for good.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-63263\" src=\"https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/remove-replytocom-urls.webp\" alt=\"Remove WordPress replytocom URLs from Google\" width=\"1200\" height=\"630\" srcset=\"https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/remove-replytocom-urls.webp 1200w, https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/remove-replytocom-urls-300x158.webp 300w, https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/remove-replytocom-urls-1024x538.webp 1024w, https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/remove-replytocom-urls-150x79.webp 150w, https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/remove-replytocom-urls-768x403.webp 768w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/p>\n<p><strong>Quick answer:<\/strong> Make sure every post has a <strong>canonical tag<\/strong> (Rank Math and Yoast add it automatically), and make your comment Reply links point to <code>#comment-<\/code> anchors instead of <code>?replytocom=<\/code> URLs, using an SEO plugin setting or the small code snippet below. Don&#8217;t block replytocom in robots.txt.<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_89 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-6af22b5731fb1\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"ez-toc-cssicon\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #1a202c;color:#1a202c\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #1a202c;color:#1a202c\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-6af22b5731fb1\" checked aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2011\/04\/fix-duplicate-content-remove-wordpress-replytocom-urls-from-google\/#What_is_replytocom\" >What is replytocom?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2011\/04\/fix-duplicate-content-remove-wordpress-replytocom-urls-from-google\/#How_to_check_your_site\" >How to check your site<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2011\/04\/fix-duplicate-content-remove-wordpress-replytocom-urls-from-google\/#How_to_remove_replytocom_URLs\" >How to remove replytocom URLs<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2011\/04\/fix-duplicate-content-remove-wordpress-replytocom-urls-from-google\/#1_Make_sure_canonical_tags_are_in_place\" >1. Make sure canonical tags are in place<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2011\/04\/fix-duplicate-content-remove-wordpress-replytocom-urls-from-google\/#2_Use_your_SEO_plugins_crawl_cleanup\" >2. Use your SEO plugin&#8217;s crawl cleanup<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2011\/04\/fix-duplicate-content-remove-wordpress-replytocom-urls-from-google\/#3_Or_change_the_Reply_links_with_code\" >3. Or change the Reply links with code<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2011\/04\/fix-duplicate-content-remove-wordpress-replytocom-urls-from-google\/#What_not_to_do\" >What not to do<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2011\/04\/fix-duplicate-content-remove-wordpress-replytocom-urls-from-google\/#How_we_found_the_problem_in_2011\" >How we found the problem in 2011<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2011\/04\/fix-duplicate-content-remove-wordpress-replytocom-urls-from-google\/#Frequently_asked_questions\" >Frequently asked questions<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2011\/04\/fix-duplicate-content-remove-wordpress-replytocom-urls-from-google\/#Are_replytocom_URLs_bad_for_SEO\" >Are replytocom URLs bad for SEO?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2011\/04\/fix-duplicate-content-remove-wordpress-replytocom-urls-from-google\/#Will_removing_replytocom_break_comment_replies\" >Will removing replytocom break comment replies?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2011\/04\/fix-duplicate-content-remove-wordpress-replytocom-urls-from-google\/#How_long_until_replytocom_URLs_disappear_from_Google\" >How long until replytocom URLs disappear from Google?<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"What_is_replytocom\"><\/span>What is replytocom?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>When threaded comments are on, each comment has a <strong>Reply<\/strong> link. In older WordPress setups that link looked like this:<\/p>\n<pre><code>https:\/\/example.com\/my-post\/?replytocom=12345#respond<\/code><\/pre>\n<p>It&#8217;s meant as a fallback for browsers without JavaScript. But to a search engine, every <code>?replytocom=<\/code> value is a different URL showing the same post, so a post with 200 comments could appear as 200 duplicate pages, wasting crawl budget and creating &#8220;Duplicate without user-selected canonical&#8221; warnings.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"How_to_check_your_site\"><\/span>How to check your site<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ol>\n<li>Open any post with comments, right-click a <strong>Reply<\/strong> link and copy the link address.<\/li>\n<li>If it ends in <code>#comment-12345<\/code> or <code>#respond<\/code> with no <code>?replytocom=<\/code>, you&#8217;re fine.<\/li>\n<li>In Google Search Console, open <strong>Pages<\/strong> (indexing report) and look for URLs containing <code>replytocom<\/code> under the excluded reasons.<\/li>\n<\/ol>\n<p>On QuickOnlineTips today, our reply links already use clean anchors like <code>#comment-915835<\/code>, and every post has a canonical tag pointing to the main URL, so Google ignores any old replytocom URLs it finds.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"How_to_remove_replytocom_URLs\"><\/span>How to remove replytocom URLs<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3><span class=\"ez-toc-section\" id=\"1_Make_sure_canonical_tags_are_in_place\"><\/span>1. Make sure canonical tags are in place<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Rank Math, Yoast SEO and most themes add a <code>&lt;link rel=\"canonical\"&gt;<\/code> tag pointing to the clean post URL. Check your page source. With this in place, Google treats replytocom URLs as duplicates of the main post and drops them from search.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"2_Use_your_SEO_plugins_crawl_cleanup\"><\/span>2. Use your SEO plugin&#8217;s crawl cleanup<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><strong>Yoast SEO<\/strong> has a <strong>Remove ?replytocom variables<\/strong> option in its crawl optimisation settings. <strong>Rank Math<\/strong> users can rely on canonicals and the code below. Turn on whichever your plugin offers, then clear your cache.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"3_Or_change_the_Reply_links_with_code\"><\/span>3. Or change the Reply links with code<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Add this to your child theme&#8217;s functions.php or a code snippets plugin. It rewrites each Reply link to a simple <code>#respond<\/code> anchor, while WordPress&#8217;s comment-reply script still moves the comment form into place:<\/p>\n<pre><code>add_filter( 'comment_reply_link', function( $link ) {\r\n    return preg_replace(\r\n        '\/href=([\"\\'])[^\"\\']*replytocom=\\d+[^\"\\']*\\1\/',\r\n        'href=\"#respond\"',\r\n        $link\r\n    );\r\n} );<\/code><\/pre>\n<p>Test it by clicking Reply on a comment. The form should still appear under that comment, and the link should no longer contain replytocom.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"What_not_to_do\"><\/span>What not to do<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ul>\n<li><strong>Don&#8217;t block replytocom in robots.txt.<\/strong> If Google can&#8217;t crawl those URLs, it can&#8217;t see their canonical tag, and they may stay in the index as URL-only results.<\/li>\n<li><strong>Don&#8217;t look for Search Console&#8217;s URL Parameters tool.<\/strong> Google retired it in 2022. In 2011 we fixed this by setting replytocom to &#8220;Ignore&#8221; there, but that option no longer exists, and Google now handles parameters automatically.<\/li>\n<li><strong>Don&#8217;t noindex your posts<\/strong> to fix this. You only want the duplicate parameter URLs gone, not the post itself.<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"How_we_found_the_problem_in_2011\"><\/span>How we found the problem in 2011<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Back then, Google Webmaster Tools flagged duplicate title tags on our posts, and a site search showed Google indexing replytocom URLs:<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-18103\" src=\"https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/duplicate-titles.png\" alt=\"Duplicate title tags caused by replytocom URLs\" width=\"469\" height=\"151\" srcset=\"https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/duplicate-titles.png 469w, https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/duplicate-titles-150x48.png 150w, https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/duplicate-titles-300x96.png 300w\" sizes=\"(max-width: 469px) 100vw, 469px\" \/> <img decoding=\"async\" class=\"aligncenter size-full wp-image-18104\" src=\"https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/replytocom-google.png\" alt=\"replytocom URLs indexed in Google\" width=\"485\" height=\"160\" srcset=\"https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/replytocom-google.png 485w, https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/replytocom-google-300x98.png 300w\" sizes=\"(max-width: 485px) 100vw, 485px\" \/><\/p>\n<p>Setting the parameter to &#8220;Ignore&#8221; fixed it at the time. Today canonical tags and clean Reply links do the same job. If you&#8217;re cleaning up other unwanted URLs, see how to <a href=\"https:\/\/www.quickonlinetips.com\/archives\/2020\/04\/noindex-archive-subpages-yoast-seo-plugin\/\">noindex archive subpages<\/a>.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Frequently_asked_questions\"><\/span>Frequently asked questions<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3><span class=\"ez-toc-section\" id=\"Are_replytocom_URLs_bad_for_SEO\"><\/span>Are replytocom URLs bad for SEO?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>They waste crawl budget and create duplicates, but with a correct canonical tag Google usually handles them without harming rankings. Removing them is good housekeeping.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Will_removing_replytocom_break_comment_replies\"><\/span>Will removing replytocom break comment replies?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>No. Modern WordPress uses JavaScript to move the reply form, so replies keep working with a simple anchor link.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"How_long_until_replytocom_URLs_disappear_from_Google\"><\/span>How long until replytocom URLs disappear from Google?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Usually a few weeks, as Google recrawls them and follows the canonical tags.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Seeing URLs like yourpost\/?replytocom=12345 in Google or in Search Console? WordPress used to add a replytocom parameter to every comment&#8230;<\/p>\n","protected":false},"author":4,"featured_media":63263,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"default","_kad_post_title":"default","_kad_post_layout":"default","_kad_post_sidebar_id":"","_kad_post_content_style":"default","_kad_post_vertical_padding":"default","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":""},"categories":[6,41],"tags":[49,17],"class_list":["post-18102","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blogging","category-search-engine-optimization","tag-tutorials","tag-wordpress"],"_links":{"self":[{"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/posts\/18102","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/comments?post=18102"}],"version-history":[{"count":3,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/posts\/18102\/revisions"}],"predecessor-version":[{"id":65392,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/posts\/18102\/revisions\/65392"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/media\/63263"}],"wp:attachment":[{"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/media?parent=18102"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/categories?post=18102"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/tags?post=18102"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}