Javascript search results & Pagination for SEO
-
Hi
On this page http://www.key.co.uk/en/key/workbenches we have javascript on the paginated pages to sort the results, the URL displayed and the URL linked to are different. e.g.
The paginated pages link to for example: page2 http://www.key.co.uk/en/key/workbenches#productBeginIndex:30&orderBy:5&pageView:list&
The list is then sorted by javascript.
Then the arrows either side of pagination link to e.g. http://www.key.co.uk/en/key/workbenches?page=3 - this is where the rel/prev details are - done for SEO
But when clicking on this arrow, the URL loaded is different again - http://www.key.co.uk/en/key/workbenches#productBeginIndex:60&orderBy:5&pageView:list&
I did not set this up, but I am concerned that the URL http://www.key.co.uk/en/key/workbenches?page=3 never actually loads, but it's linked to Google can crawl it.
Is this a problem?
I am looking to implement a view all option.
Thank you
-
Hi Jake
Thank you for your input.
I've looked in what might be blocked & I still have a couple of .js files blocked, they're AJAX e.g.
http://www.key.co.uk/wcsstore/dojo18/dijit/nls/loading.js
http://www.key.co.uk/wcsstore/dojo18/dojo/fx/easing.js
These aren't in the robots.txt files - do you think it's worth finding & unblocking them?
Thank you
-
Hi Becky,
You don't need "product listing" schema.. you just simply markup each product on the page using the product schema - https://schema.org/Product...
I don't see any glaring issues with your pagination.
I do however, see the issue with displaying the products on the page continues.. Google most recently cached this page on 9/30 - http://www.key.co.uk/en/key/workbenches - and it still is only displaying a single product in the cache. You might be able to get some insight into any JS that is being blocked by looking in GSC... Using Google's mobile testing tool, it indicates there is some en-gb.js file that is being blocked, but I couldn't find it in the source.. so it must be referenced elsewhere. I'm not sure if this is the issue, but It's a decent starting point.
Best,
Jake Bohall
-
Hi Jake
Thanks so much for your reply, I had something in the Robots.txt file blocking css so this has been removed.
I've just checked and all products now seem to be showing.
I'll look into product schema, I had looked before but couldn't see any schema for product listing pages?
So you don't think anything is wrong with the pagination?
Thank you
-
Hi Becky,
Great question!
For the page - http://www.key.co.uk/en/key/workbenches - Google's cache is showing they are only able to load/see a single product on the page.
The same is happening on the cached versions of your paginated pages like http://www.key.co.uk/en/key/workbenches?page=3 ...
Google is able to find these paginated versions because you are properly implementing the rel=next and rel=prev in the source of the pages. I wouldn't worry too much at this point about the jscript loading creating the "anchor" urls with sorting, etc.. though you could consider using pushstate to force the correct canonical URL in the browser.
I would focus on making sure the content is indexable by Google so they can find the links to all of your product pages, etc. You might want to consider a pre-render service for those pages, or as you mentioned, having a page listing all products so they can easily be crawled. You should double check this by fetching the pages in GSC and seeing how they render.
On a side note, you might want to look into some product schema options for your content
Cheers,
Jake Bohall
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Woocommerce SEO & Duplicate content?
Hi Moz fellows, I'm new to Woocommerce and couldn't find help on Google about certain SEO-related things. All my past projects were simple 5 pages websites + a blog, so I would just no-index categories, tags and archives to eliminate duplicate content errors. But with Woocommerce Product categories and tags, I've noticed that many e-Commerce websites with a high domain authority actually rank for certain keywords just by having their category/tags indexed. For example keyword 'hippie clothes' = etsy.com/category/hippie-clothes (fictional example) The problem is that if I have 100 products and 10 categories & tags on my site it creates THOUSANDS of duplicate content errors, but If I 'non index' categories and tags they will never rank well once my domain authority rises... Anyone has experience/comments about this? I use SEO by Yoast plugin. Your help is greatly appreciated! Thank you in advance. -Marc
Intermediate & Advanced SEO | | marcandre1 -
Is Q&A on a website good or bad for SEO?
I am considering adding a Q&A section to my website and I have a few questions for you PROs!: is it a good thing for SEO? Or a potential pitfall for SEO? If it is used often and users post relevant topics related to the website content, will it help the overall DA and websites SERP performance? Are there inherent risks for website security when using a Q&A? Are there any other questions I should be asking? I am using Joomla! 3.0 with Stackideas Easy discuss/easy social. Thanks for any advice! BB
Intermediate & Advanced SEO | | BBuck0 -
What recommendations do you have for the SEO of this site?
Hello, Could you glance at this site and let me know if you see anything we could improve upon? www.nlpca.com A couple of notes: We're over-optimized for the term "NLP" on the home page. We're removing the footer links soon. We have 2 locations: San Francisco, CA and Salt Lake City, UT. Our main keyword is "NLP Training" but we would like to rank higher for the keyword "NLP". Also note that we're completely white hat, but we have international site-wide backlinks, and a couple of site-wide backlinks in site's footers - all friends and colleagues of ours.
Intermediate & Advanced SEO | | BobGW0 -
Negative SEO + Disavow
My site is very new (~1 years old), but due to good PR we have gotten some decent links and are already ranking for a key term. This may be why someone decided to start a negative SEO attack on us. We've had less than 200 linking domains up until 2 weeks ago, but since then we have been getting 100+ new domains /day with anchor texts that are either targeted to that key term or are from porn websites. I've gone through the links to get ready and submit a disavow... but should I do it? My rankings/site traffic has not been affected yet. Reasons for my hesitations: 1. Google always warns against using the disavow, and says "you shouldn't have to use it if you are a normal website." (sensing 'guilty-until-proven') 2. Some say Google is only trying to get the data to see if there are any patterns within the linking sites. I don't want the site owners to get hurt, since the villain is someone else using xrumer to put spammy comments on their site. What would you do?
Intermediate & Advanced SEO | | ALLee0 -
What's the best way to redirect categories & paginated pages on a blog?
I'm currently re-doing my blog and have a few categories that I'm getting rid of for housecleaning purposes and crawl efficiency. Each of these categories has many pages (some have hundreds). The new blog will also not have new relevant categories to redirect them to (1 or 2 may work). So what is the best place to properly redirect these pages to? And how do I handle the paginated URLs? The only logical place I can think of would be to redirect them to the homepage of the blog, but since there are so many pages, I don't know if that's the best idea. Does anybody have any thoughts?
Intermediate & Advanced SEO | | kking41200 -
Pagination Question: Google's 'rel=prev & rel=next' vs Javascript Re-fresh
We currently have all content on one URL and use # and Javascript refresh to paginate pages, and we are wondering if we transition to the Google's recommended pagination if we will see an improvement in traffic. Has anyone gone though a similar transition? What was the result? Did you see an improvement in traffic?
Intermediate & Advanced SEO | | nicole.healthline0 -
Search results all going to home page
I'm an author, and after doing a search for one of my books I realized that no matter what was searched, the user was getting lead to the homepage. please see the attached picture. How do I fix this and is this hurting my SEO? Capture.JPG Capture1.JPG
Intermediate & Advanced SEO | | StreetwiseReports0 -
SEO - Product Related MiniSites: Hosting & Domains
Hey Mozzers, I would first like to thank everyone in advance for replying to my question 😉 Actually, my question is 2-part: Hosting & Domains 1) We are currently researching product-related domains and would like to build-out review style mini-sites on WordPress that link back to our main site product pages. We're using X-Cart platform and X-Cart offers a WordPress module. My Dev. recommends installing a main WordPress mini-site template on my server and replicating this template under different domains/unique content, obviously ;-). -My questions is; For backlink purposes, would it be better to host these WordPress pages in a different location/server? 2) Domains (which domain extensions are the best): I have read mixed reviews on this subject ... a) Do dashes (i,e. brand-model.com) have an impact as well?? I read a post regarding this; http://www.commonsensemarketing.net/do-domain-name-extensions-matter/ - and the general feeling was that .com and .net ranked higher, faster but that .info wasn't a bad runner up. I was a bit excited to hear that .info wasn't a bad choice as they are actually "available" and cheap as well (under 3 bucks) until a comment was posted about a "Market Samurai" study. They reported testing 4 domain names (below) with the same article, date & time post . 1. domainname.com
Intermediate & Advanced SEO | | k9byron
2. domainname.org
3. domainname.net
4. domain-name.com -My question is: Can anyone give any advise on which domain extensions work better/rank higher faster? com / .net / .org / .info / ect? Also, is it better to have more product related keywords in the domain? Example, one of my products is the "Dogtra 280ncp Platinum". WordStream exact match tells me that "dogtra 280ncp" gets 210 searches per month and that "dogtra 280ncp platinum" gets another 91 searches per month. I'm guessing that its better to buy www.Dogtra280ncpPlatinum.com instead of www.Dogtra280ncp.com as we would pick up the searches for the "platinum" term as well? Question Summary: Is it better to host these mini-sites on another server than my main site? Which domain extensions work better? Is it better to use as many product related keywords in the domain as possible and maybe even throw modifiers in there as well such as "buy" or "review"? Thanks Again!
Byron-0