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
-
SEO on dynamic website
Hi. I am hoping you can advise. I have a client in one of my training groups and their site is a golf booking engine where all pages are dynamically created based on parameters used in their website search. They want to know what is the best thing to do for SEO. They have some landing pages that Google can see but there is only a small bit of text at the top and the rest of the page is dynamically created. I have advised that they should create landing pages for each of their locations and clubs and use canonicals to handle what Google indexes.Is this the right advice or should they noindex? Thanks S
Intermediate & Advanced SEO | | bedynamic0 -
Highly interlinking a particular page shows up in Google search results?
Hi All, As we can see the below statement from Google about internal linking: "The number of internal links pointing to a page is a signal to search engines about the relative importance of that page."
Intermediate & Advanced SEO | | vtmoz
https://support.google.com/webmasters/answer/138752?hl=en So if we interlink a page highly than other pages, will it rank on search results instead of homepage? Moreover if the page have "keyword" in URL slug...like www.website.com/keyword. Thanks0 -
SEO Menu Question
I have a question regarding to the SEO benefits of different types of menus. Recently, I have noticed an increasing number of websites with the sort of menu like at www.sportsdirect.com, where there is only one main dropdown and then everything is a sub-menu of the sub-menus if that makes sense. Is this approach more, less or equal beneficial to what you see at http://www.wiggle.co.uk/ where there are multiple initial dropdown menus? Appreciate the feedback.
Intermediate & Advanced SEO | | simonukss0 -
PR & DA
What are the best ways to increase a website's page rank and domain authority?
Intermediate & Advanced SEO | | WebMarkets0 -
Does Google still don't index Hashtag Links ? No chance to get a Search Result that leads directly to a section of a page? or to one of numeras Hashtag Pages in a single HTML page?
Does Google still don't index Hashtag Links ? No chance to get a Search Result that leads directly to a section of a page? or to one of numeras Hashtag Pages in a single HTML page? If I have 4 or 5 different hashtag link section pages , consolidated into one HTML Page, no chance to get one of the Hashtag Pages to appear as a search result? like, if under one Single Page Travel Guide I have two essential sections: #Attractions #Visa no chance to direct search queries for Visa directly to the Hashtag Link Section of #Visa? Thanks for any help
Intermediate & Advanced SEO | | Muhammad_Jabali0 -
How to get google to categorize a website in search results?
Hello everyone and thanks in advance for your time. I have a good understanding about SEO, backlinks etc but nowhere near to professional! A good friend of mine has an online store made with opencart e commerce platform he would like to have have category view when his company name is searched on google. Does anyone has any idea how can this be achieved?
Intermediate & Advanced SEO | | superofelia0 -
Where Does Blogging Fit Into SEO
I read an article yesterday that said blogging comes under the heading of social media, which is at the top of the so called SEO pyramid. I have taken this to mean less time should be spent in social media compared to other areas of SEO. Yet content creation was at the bottom of the pyramid (more time allocation here). Isn't blogging part of content creation? I would have thought there is a limit to what can be done for service/product & landing pages. Whereas blogs are a great way to produce more unique content for a website. Any clarification would be appreciated. Thanks - Christina
Intermediate & Advanced SEO | | ChristinaRadisic0 -
The format for image SEO
Hi there. After looking at a few SEO videos relating to image SEO it seems important to ensure images are SEO'd just as well as pages. I however have a question. If the page is Meta titles the following: Online for Equine | Riding Clothing | Just Togs Latina Ladies Breech And this particular page contains five images which are each variants of this product, how is it best to SEO them? Would you go with the: Online for Equine | Riding Clothing | Just Togs Latina Ladies Breech Front Online for Equine | Riding Clothing | Just Togs Latina Ladies Breech Back Online for Equine | Riding Clothing | Just Togs Latina Ladies Breech Side and so on... Or would this result in keyword stuffing with Google's new over-optimisation rules. Would it be better to rename them so they are all individual? I am considering deleting the images, renaming them on the server as the SEO proof name and then re-uploading them so the Image caption = filename. Am I on the right track? If you need the page: http://www.onlineforequine.co.uk/jodhpurs-breeches/22-just-togs-ladies-latina-denim-breech.html
Intermediate & Advanced SEO | | onlineforequine0