I use simple javascript to generate pages based on thousands of products stored in a JSON object.
The page URLs will be like /productList?keyword=XXX&page=x
. The keyowrd
is what uses input through the search bar. Single product pages would be /product?id=XXXX
. For both of the product list pages and product pages, the product info is retrieved from the JSON API using javascript.
My questions are:
- There will be countless combinations of
keyword
andpage
, how would search engine bots crawl and index them? - If users search a product's name, what result would search engine give him? My concern is the products won't be searchable. But I read an article saying major search engines are able to execute javascript. So in my case, would search engine recognize my pages and products?