The Moz Q&A Forum

    • Forum
    • Questions
    • 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 Forum
    2. Categories
    3. SEO Tactics
    4. Technical SEO
    5. How to handle (internal) search result pages?

    Moz Q&A is closed.

    After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.

    How to handle (internal) search result pages?

    Technical SEO
    10 5 4.1k
    • 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.
    • Qon
      Qon last edited by

      Hi Mozers,

      I'm not quite sure what the best way is to handle internal search pages. In this case it's for an ecommerce website with about 8.000+ products and search pages currently look like: example.com/search.php?search=QUERY+HERE.

      I'm leaning towards making them follow, noindex. Since pages like this can be easily abused for duplicate content and because I'd rather have the category pages ranked.

      How would you handle this?

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

        If none of these pages are indexed, you can block them via robots.txt. But if someone else links to a search page from somewhere on the web, google might include the url in the index, and then it'll just be a blank entry, as they can't crawl the page and see not to index it, as it's blocked via robots.txt.

        1 Reply Last reply Reply Quote 0
        • YairSpolter
          YairSpolter @Mark_Ginsberg last edited by

          Thanks for the quick response.

          If the pages are presently not indexed, is there any advantage to follow/noindex over blocking via robots.php?

          I guess my question is whether it's better or worse to have those pages spidered (by definition, any content that appears on these pages exists somewhere else on the site, since it is a search page)... what do you think?

          1 Reply Last reply Reply Quote 0
          • Mark_Ginsberg
            Mark_Ginsberg @YairSpolter last edited by

            Blocking the pages via robots.txt prevents the spiders from reaching those pages. It doesn't remove those pages from the index if they are already there, it just prevents the bots from getting to them.

            If you want these pages removed from your index, and not to impact the size of your index in the search engines, ideally you remove them with the noindex tag.

            YairSpolter 1 Reply Last reply Reply Quote 1
            • YairSpolter
              YairSpolter @Mark_Ginsberg last edited by

              Hi Mark,

              Can you explain why this is better than excluding the pages via robots.txt?

              Mark_Ginsberg 1 Reply Last reply Reply Quote 0
              • DoRM
                DoRM @Mark_Ginsberg last edited by

                How did it turn out?  And Mark have you done much with internal search?

                1 Reply Last reply Reply Quote 0
                • zigojacko
                  zigojacko @Qon last edited by

                  As long as you're sure that no organic search traffic is coming in via ranked search results pages from your site, it would be of no harm just to prevent search engines from indexing those pages as per the robots.txt directive I mentioned above - then just focus all your attention on the other pages of your site.

                  With regards to the unique content, always try and find the time to produce unique content on the category pages, these were the ones you mentioned you wanted to rank. Normally this is feasible providing you haven't got over 1,000 categories.

                  Feel free to PM me over a link to your ecommerce website if you would like me to take a look at any of the situation in greater detail.

                  1 Reply Last reply Reply Quote 0
                  • Qon
                    Qon @zigojacko last edited by

                    Thanks for the reply. Yes, there is a semi-chance of duplicate content. And to be honest, the search function is not really great.

                    There are no visitors coming from the search pages, since we haven't build links specifically for those pages. As for the unique content, it's hard. Since we have so many products it's not really possible. We are working on optimizing our top 100 products though.

                    zigojacko 1 Reply Last reply Reply Quote 0
                    • Mark_Ginsberg
                      Mark_Ginsberg last edited by

                      I'd do exactly what you're saying. Make the pages no index, follow. If they're already indexed, you can remove the page search.php from the engines through webmaster tools.

                      Let me know how it turns out.

                      DoRM YairSpolter 2 Replies Last reply Reply Quote 1
                      • zigojacko
                        zigojacko last edited by

                        How I would handle this would depend upon the performance of the ecommerce website and which entrance paths via the website convert higher.

                        You could easily instruct search engines not to index the search results page by adding the following in your robots.txt:-

                        Disallow: /search.php?search=*

                        But is there a real likelihood of duplicate matching content with your actual category pages? It's unlikely in all honesty - but depending on your website content and product range, I suppose possible.

                        If many visits to your website arrive via indexed search result pages, I would be inclined to leave them indexed however and implement measures to ensure that they won't be flagged as duplicate content.

                        Ways to handle this depend on your ecommerce provider and it's capabilities sometimes but more often that not, is just a case of ensuring there is plenty of unique content on your category pages (as there should be) and there is no chance of other pages of your website hindering their ranking potential then.

                        Qon 1 Reply Last reply Reply Quote 3
                        • 1 / 1
                        • First post
                          Last post

                        Got a burning SEO question?

                        Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


                        Start my free trial


                        Explore more categories

                        • Moz Tools

                          Chat with the community about the Moz tools.

                          Getting Started
                          Moz Pro
                          Moz Local
                          Moz Bar
                          API
                          What's New

                        • SEO Tactics

                          Discuss the SEO process with fellow marketers

                          Content Development
                          Competitive Research
                          Keyword Research
                          Link Building
                          On-Page Optimization
                          Technical SEO
                          Reporting & Analytics
                          Intermediate & Advanced SEO
                          Image & Video Optimization
                          International SEO
                          Local SEO

                        • Community

                          Discuss industry events, jobs, and news!

                          Moz Blog
                          Moz News
                          Industry News
                          Jobs and Opportunities
                          SEO Learn Center
                          Whiteboard Friday

                        • Digital Marketing

                          Chat about tactics outside of SEO

                          Affiliate Marketing
                          Branding
                          Conversion Rate Optimization
                          Web Design
                          Paid Search Marketing
                          Social Media

                        • Research & Trends

                          Dive into research and trends in the search industry.

                          SERP Trends
                          Search Behavior
                          Algorithm Updates
                          White Hat / Black Hat SEO
                          Other SEO Tools

                        • Support

                          Connect on product support and feature requests.

                          Product Support
                          Feature Requests
                          Participate in User Research

                        • See all categories

                        • Page disappears from Google search results
                          JoelssonMedia
                          JoelssonMedia
                          0
                          3
                          1.2k

                        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

                        Looks like your connection to Moz was lost, please wait while we try to reconnect.