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. Intermediate & Advanced SEO
    4. Difficulty with Indexing Pages - Desperate for Help!

    Difficulty with Indexing Pages - Desperate for Help!

    Intermediate & Advanced SEO
    9 3 85
    • 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.
    • jacleaves
      jacleaves last edited by

      I have a website with product pages that use the same URL, but load different data based on what's passed to them with GET. I am using a Wordpress website, but all of the page information is retrieved from a database using PHP and displayed with PHP.

      Somehow these pages are not being indexed by Google.

      I have done the following:

      1. Created a site map pointing to each page.

      2. Defined URL parameters in Search Console for these type of pages.

      3. Created a product schema using schema.org, and tested it without errors.

      I have requested re-indexing repeatedly and these pages and images on the pages are still not being indexed! Does anybody have any suggestions?

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

        Hi jacleaves!

        Without your website URL it will be difficult to diagnose the problem as there are a few potential technical issues here. My main worries would be whether you're blocking indexation somehow and the fact you're displaying your content using JavaScript.

        I'd start here:

        1. Check you're not blocking crawlers in your robots.txt file
        2. Check you're not using the noindex tag

        I'd also try using fetch and render in Google Search Console (https://support.google.com/webmasters/answer/6066468?hl=en) for your site pages to see how Google sees them. If googlebot isn't seeing your content, that's a strong hint there's a JavaScript crawling problem.

        Also, strap yourself in and read this - https://www.elephate.com/blog/ultimate-guide-javascript-seo/ - it's THE guide for JavaScript SEO.

        Let us know how you get on and we'll go from there!

        jacleaves 1 Reply Last reply Reply Quote 2
        • jacleaves
          jacleaves last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • jacleaves
            jacleaves last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • jacleaves
              jacleaves @matthew_jkay last edited by

              Hi Matthew,

              Thanks for your quick response!

              Here's one page:

              http://amishdirectplaysets.com/playset-details/?mfgID=A-1&catID=4

              My issue is none of the individual product pages are being indexed.

              In response to your starting suggestions:

              1. I am not blocking any resources.

              2. I am not using noindex.

              3. Page is being rendered successfully.

              One more thing . . . I mis-spoke about how the content is generated. The content on this page is generated by PHP and NOT Javascript. So that is a non-issue.  (I corrected this in my initial question.)

              I appreciate your feedback. Please let me know if you are able to determine what else I could be missing!

              davebuts 1 Reply Last reply Reply Quote 1
              • davebuts
                davebuts @jacleaves last edited by

                Hi jacleaves,

                The problem here is with your canonical tags (more info on canonical tags here).

                This page: http://amishdirectplaysets.com/playset-details/?mfgID=A-1&catID=4

                Has a canonical tag pointing to: http://amishdirectplaysets.com/playset-details/

                The same thing is happening on all of your product pages.

                I would change all of your product pages to use "SEO-friendly" URLs and have a self-referring canonical tag.

                Eg. your example page: http://amishdirectplaysets.com/playset-details/?mfgID=A-1&catID=4
                Would become: http://amishdirectplaysets.com/playset-details/a-1-standard-climber-vinyl-playset
                And the canonical tag would point to: http://amishdirectplaysets.com/playset-details/a-1-standard-climber-vinyl-playset

                Cheers,

                David

                jacleaves 1 Reply Last reply Reply Quote 3
                • jacleaves
                  jacleaves @davebuts last edited by

                  Hey, David Butler,

                  I am at a loss when it comes to canonical tags -- I am trying to understand how to use them. However, in this case I thought it was set up correctly.

                  To better explain the website . . . all of the product pages use the same URL, which is http://amishdirectplaysets.com/playset-details/.

                  I programmed the pages to retrieve info from a database and display specific product information based on the parameters passed to them (?mfgID=A-1&catID=4). I cannot change the URL's to be anything different, as they are not actually different pages.

                  What I had read is that the canonical url should not include the URL parameters, so that is why they were just going to the same page. I created URL parameters in Google Search Console because I thought that would take care of this issue. However it is not.

                  So . . . what I have done (after reading your post) is gone ahead  and changed the canonical URL to include the URL parameters.

                  Is that how I'm supposed to handle it in this type of a situation?

                  I am updating this response . . . after further investigation I can take care of changing the URL to something more search-engine friendly by using mod rewrite. I'll test it out.

                  davebuts 1 Reply Last reply Reply Quote 1
                  • davebuts
                    davebuts @jacleaves last edited by

                    Hi jacleaves,

                    I'm interested to see how this works out for you!

                    Please post an update after you've finished your work 🙂

                    Cheers,

                    David

                    jacleaves 1 Reply Last reply Reply Quote 1
                    • jacleaves
                      jacleaves @davebuts last edited by

                      Hey, David Butler . . . you are probably the only person who has looked at this issue, so I want to thank you again for your input.

                      I wanted to follow up about this. Since I am using Wordpress for the website, I used Wordpress's rewrite_rule function.

                      After confirming that it was working correctly, I deleted the old sitemaps and created new ones, then  submitted them to Google.

                      Shortly after this, the pages were successfully indexed.

                      So from this experience I get the impression that using URL parameters doesn't necessary work -- I certainly am not going to use them in the future.

                      I am going to mark this issue as resolved.

                      1 Reply Last reply Reply Quote 0
                      • 1 / 1
                      • First post
                        Last post
                      • Best way to link to 1000 city landing pages from index page in a way that google follows/crawls these links (without building country pages)?
                        lcourse
                        lcourse
                        0
                        7
                        54

                      • What to do when your home page an index for a series of pages.
                        donford
                        donford
                        0
                        7
                        154

                      • HTTPS pages - To meta no-index or not to meta no-index?
                        TomVolpe
                        TomVolpe
                        0
                        3
                        856

                      • Date of page first indexed or age of a page?
                        GPainter
                        GPainter
                        0
                        3
                        1.9k

                      • Index Pages become No-Index
                        TimKelsey
                        TimKelsey
                        0
                        6
                        114

                      • Incorrect cached page indexing in Google while correct page indexes intermittently
                        MikeRoberts
                        MikeRoberts
                        0
                        2
                        298

                      • To index or not to index search pages - (Panda related)
                        HiveDigitalInc
                        HiveDigitalInc
                        0
                        2
                        315

                      • Member request pages, indexed or no indexed?
                        DougRoberts
                        DougRoberts
                        0
                        4
                        335

                      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