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 Drop
Over the last few months my rank has dropped by around half and for the life of me I can’t see why. There are no warnings on Google Console. Am I missing something? Website: thespacecollective.com
Intermediate & Advanced SEO | | moon-boots0 -
International SEO Options?
Hi we currently have a site which is a example.com domain in the Australian market (we have geo-targeted to Australia within search console). We are looking to expand to United States. I have added the potential options down below, just wondering which one you guys think would be best from a SEO and practical standpoint? Or if there are other options i should consider? Option 1 The Australian domain is strong so this option takes this into consideration. Keep example.com (Australian) Add on: Sub-Directory for US Which would be: example.com/us/ In Search Console set the sub-folder to target US and also setup hreflang tags. Setup the US site on the sub-directory. Option 2 Add sub-folders for both Aus and US example/au/ (Australian)
Intermediate & Advanced SEO | | jaynamarino
example/us/ (United States) Setup hreflang targeting. Cons
Need to set up redirects for the current site to new location which is .com/au/ might also see drop in performance due to redirects. Cheers.0 -
Mirrors Hosting SEO
Hello, I notice that some sites do provide hosting for mirroring file downloading for cpanel, apache and other big developers. I assume that benefits of it is link building but look at this site: http://apache.mirrors.hoobly.com/ Hoobly provide mirrors for most developers but none of them are indexed by google for ex: http://apache.mirrors.hoobly.com/ So can someone explain why would be that or what is going on ? is that something hidden here ?
Intermediate & Advanced SEO | | eriklogo50 -
Wordpress Blogs and SEO
So far we have been creating separate blogs on wordpress.com for our sites, and writing there. Today I was told that there was better SEO hosting the blog on the actual domain. i.e. www.widgets.com/blog instead of widget.wordpress.com Is this true? Oddly I have had my WP beat my own URL on one account. So I am not sure if this is valid. Can someone tell me pros and cons of both? Thanks!
Intermediate & Advanced SEO | | greenhornet770 -
Is this Negative SEO?
Hello Everyone, I have just spent the past 9 months designing, engineering, and manufacturing our first product. We just opened our web store and started selling product. http://miveu.com. I have spent zero time doing any kind of SEO. We haven't even put up a sitemap yet or any redirects. I'm just now starting to take a look at things. As soon as I start digging, I find that it appears that someone is at least attempting to do some kind of negative SEO against us. It seems to have started about a month ago. Check this out. https://www.google.com/search?q=miveu&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-beta#q=miveu&hl=en&client=firefox-beta&hs=bo2&tbo=1&rls=org.mozilla:en-US:official&prmd=imvns&source=lnt&tbs=qdr:d&sa=X&psj=1&ei=AGgBUJfJNK650QHW8YW-Bw&ved=0CE0QpwUoAg&bav=on.2,or.r_gc.r_pw.r_qf.,cf.osb&fp=335379d2f3ac2208&biw=993&bih=637 At first I was thinking this isn't so good, but it seems they are just trying to build crap content about our keywords and make it relevant to us. After taking a closer look, I'm thinking maybe this isn't all bad. They have targeted all of our exiting YouTube videos and created new videos that use all of our keywords, titles, people, etc in an effort to make our existing videos irrelevant. They have have also done the same thing with articles that were written about us, awards we have won as well as started negative campaigns about us and people who have said good things about us. Here are my thoughts. While the content is really crappy, it seems like they are actually building keyword relevance to us and our products. They have all the right keywords, the content is just crappy. "There is no such thing as bad press". I don't know if anyone has ever said this before, but I'm going to refer to their effort as "White-Hate SEO" because it doesn't appear to be a real dark effort. Am I missing something here, am I way off base? My bigger worry is that their campaign may include some much darker efforts that I just haven't found yet. I'm pretty sure I know who is responsible for this. They have made it clear that they really do hate us. Frankly, I'm not interested in retaliation, I just want to get my own house in order with some good old-school whit-hat SEO. I'm really curious to hear your thoughts on this. Thanks!
Intermediate & Advanced SEO | | dmac
David0 -
Local Search Results Tanked My 1st Page Ranking
My site was routinely ranking in the top 2-3 in Google for my relevant search terms. Then I started working on my local SEO. Now I'm in the map list at 1-2, but my site no longer shows up with the rest of the search results. I've heard that this has been happening to other local businesses with a big Google presence. I'm thinking that I should create some micro sites for each location listing that gives a location specific intro and then links to my main site. Then I can sever my main site from Google places. Here are my two questions: 1) Is this going to kill my placement in the map results; and, How long will it take for my main site to get back to its 2-3 spot rankings in Google's regular results?
Intermediate & Advanced SEO | | ToughTimesLawyer0 -
In-House SEO - Doubt about one SEO issue - Plz guys help over here =)
Hello, We wanna promote some of our software's. I will give u guys one example bellow: http://www.mediavideoconverter.de/pdf-to-epub-converter.html We also have this domain: http://pdftoepub.de/ How can we deal about the duplicate content, and also how can we improve the first domain product page. If I use the canonical and don't index the second domain and make a link to the first domain it will help anyway? or don't make any difference? keyword: pdf to epub , pdf to epub converter What u guys think about this technique ? Good / Bad ? Is there the second domain giving any value to the first domain page? Thanks in advance.
Intermediate & Advanced SEO | | augustos0 -
How do you rank in the "brands for:" section in Google's search results ?
There's a "brands for:" section that appears above the first organic listing for certain search queries. For example, if you search for "dedicated servers" in Google, you will see that a "brands for:" appears. How do you get listed there? Thanks, Brian
Intermediate & Advanced SEO | | InMotionHosting0