2

I have a product page with say 10 products, that loads up all the content when the page loads. Then JavaScript hides content till a product is selected. Then JavaScript hides and unhides information. It is this way rather than separate html pages for each item for design and updating purposes.

Google indexes the content fine, but instead of indexing 10 product pages it indexes the page as 1 page. Can I get Google to index each JavaScript section as a separate page?

I have made the links with #!, as I read that this would help, but it has not. Like this:

http://site.com/products.html#!PRODUCTA

Is this possible or I have to go back to separate html for each product?

2 Answers 2

2

AFAIK you can't. You can do some workarounds, as joesk answered, to fake it.

A solution would be if you load the products with AJAX, e.g. implement the AJAX crawling guidelines and provide "snapshots" of the individuel products.

1
  • 1
    Thanks for the link. I guess I misunderstood step 1 and the point of the #! . Good idea but I think it will be simpler to do the dog work of separate html pages. Thanks
    – Jon
    Commented Feb 1, 2013 at 12:03
1

Why not do both? So leave your existing setup as it and then make a nice clear architecture with the products listed on individual pages for Google to clearly understand. This could be highlighted in a HTML and/or XML sitemap. You can then make these pages the canonical version of the product pages to clarify which page should be deemed the "product" page.

1
  • The point of getting them listed in google is so they will be the google landing pages. So if they land on the html pages I need to do the upkeep and design Im trying to avoid. But I like the theory.
    – Jon
    Commented Feb 1, 2013 at 11:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.