The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Technical SEO Issues
    4. How to Remove Old Comment Page Query String URLs

    How to Remove Old Comment Page Query String URLs

    Technical SEO Issues
    2 2 151
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • MrFrost
      MrFrost last edited by

      I used to use a comments program on my website that created comment pages in the form of http://www.example.com/web-page.htm?comm_page=2\. When I switched to a new comments program, I worried that these old comment URLs would be considered duplicate content. I created a 301 redirect that, for example, would redirect http://www.example.com/web-page.htm?comm_page=2 to http://www.example.com/web-page.htm and disallowed them in robots.txt, which I later learned was not the thing to do.. I have removed the URLs from being disallowed in robots.txt. However, many months later, these comment page URLs keep appearing in Google's index from time to time. I use the "Remove URLs" tool in Google Webmaster Tools to remove the URLs from Google's index, but more URLs appear a few days later. How can I get rid of these URLs for good?

      Thanks!

      1 Reply Last reply Reply Quote 0
      • jonmifsud
        jonmifsud last edited by

        If you have still left the redirects in place; these should work. As they would indicate that the 'old' page redirects to the page without comments. I would also suggest adding a canonical link to all your pages. So in case you missed a redirect or you have disabled them it would tell Google that the page it is visiting is exactly the same as the one in the canonical link.

        Change will not happen overnight; it will take some time; especially if you had a robots blocking Google from doing to that url, as it would have to first identify the url to be 'crawlable' then find the redirect or canonical, after that update the serps & indexes.

        1 Reply Last reply Reply Quote 2
        • 1 / 1
        • First post
          Last post
        • After you remove a 301 redirect that Google has processed, will the new URL retain any of the link equity from the old URL?
          johnwalkersmith
          johnwalkersmith
          0
          3
          61

        • URL with query string being indexed over it's parent page?
          Zohaibkhannn
          Zohaibkhannn
          0
          3
          59

        • Using the Google Remove URL Tool to remove https pages
          sparrowdog
          sparrowdog
          1
          3
          5.9k

        • No indexing url including query string with Robots txt
          HMK-NL
          HMK-NL
          0
          7
          19.2k

        • How to best remove old pages for SEO
          KeriMorgret
          KeriMorgret
          0
          7
          6.1k

        • Crawl reveals hundreds of urls with multiple urls in the url string
          irvingw
          irvingw
          0
          5
          455

        • URL query strings and canonical tag
          bizarro1000
          bizarro1000
          0
          3
          6.5k

        • Rel canonical with index follow on query string URLs
          panini
          panini
          0
          4
          1.4k

        Get started with Moz Pro!

        Unlock the power of advanced SEO tools and data-driven insights.

        Start my free trial
        Products
        • Moz Pro
        • Moz Local
        • Moz API
        • Moz Data
        • STAT
        • Product Updates
        Moz Solutions
        • SMB Solutions
        • Agency Solutions
        • Enterprise Solutions
        • Digital Marketers
        Free SEO Tools
        • Domain Authority Checker
        • Link Explorer
        • Keyword Explorer
        • Competitive Research
        • Brand Authority Checker
        • Local Citation Checker
        • MozBar Extension
        • MozCast
        Resources
        • Blog
        • SEO Learning Center
        • Help Hub
        • Beginner's Guide to SEO
        • How-to Guides
        • Moz Academy
        • API Docs
        About Moz
        • About
        • Team
        • Careers
        • Contact
        Why Moz
        • Case Studies
        • Testimonials
        Get Involved
        • Become an Affiliate
        • MozCon
        • Webinars
        • Practical Marketer Series
        • MozPod
        Connect with us

        Contact the Help team

        Join our newsletter
        Moz logo
        © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
        • Accessibility
        • Terms of Use
        • Privacy