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
-
What is this on SERP results?
Hi Guys, Does anyone know what this is called: https://d.pr/i/RA6RsG And how Google pulls it from a page? Do you need some kind of markup? Cheers.
Intermediate & Advanced SEO | | nattyhall0 -
Best SEO Strategy
Hi fellow Mozers: I have a question about strategy. I have a client who is a major real estate developer in our region. They build and sell condominiums and also built and manage several major rental apartments. All rental properties have their own websites and there is also a corporate website, which has been around for many years and has decent domain authority (+/- 40). The original intent of the corporate website was to communicate central brand positioning points, attract investors and offer individual profiles of all major properties. My client is interested in developing an organic search strategy which will reach consumers looking to rent apartments. Typical search strings would include the family whose core string would be 'apartments in Baltimore.' (Currently, the client runs PPC for each one of their properties. This is expensive and highly competitive.) In doing research, we've found that there are two local competitors who are able to break on to Page 1 and appear beside the National 'apartment search guides' who dominate the Page 1 SERPS (like apartments.com). The two local competitors have websites of either the same or lower authority than our client's; one has a better link profile, the other is comparable. Here's our problem: our local competitors only build and manage apartments. So, then, the home pages and all the content of their sites ONLY talk about apartment rental related information. Our client's apartment business is actually larger in scope than either local competitor but is only one of their major real estate verticals. So my question is this: if we want to build out a bunch of content which will rank competitively with our local competition, are we better off creating a new area of the corporate site, creating targeted content and resources appropriate for apartment seekers OR would we be better off creating an entirely new site, just devoted to the same? I'm wondering if a new section will ever rank well against competitors whose root domains actually feature content which is only rental related? Likewise, I'm wondering whether we'd be giving up too much, in terms of authority, by creating an entirely new site? I've also only found examples in the industry where an entirely new site was created, so it makes me question the strategy of building out a rental-specific section of a site which also contains information about their condo business. For instance, the Related Companies are a huge builder in the East; they have a corporate site and a site called https//relatedrentals.com . Any feedback would be greatly appreciated!
Intermediate & Advanced SEO | | Daaveey0 -
Should Site Search results be blocked from search engines?
What are the advantages & disadvantages of letting Google crawl site search results? We currently have them blocked via robots.txt, so I'm not sure if we're missing out on potential traffic. Thanks!
Intermediate & Advanced SEO | | pbhatt0 -
What next with SEO
I've been working on my site for over 2 years and have some very good links and now have a PageRank 4. My site has fallen down from page 1 to page 4 for 'Web Design London' which may be due to not putting much work into link building in the last 6 months. The site is pretty well optimised onsite but there are less that 20 pages of content. With time constraints in place because I have to run the business, would it be better to increase the content, seek out more links or outsource the work. Ideally I would do both but money and time restrict this. If I was to outsource, do you have recommendations and rough prices? Thanks
Intermediate & Advanced SEO | | wpwebdesignlondon0 -
What should I get my assistant to do? (SEO wise, no real results!)
We own a video search site like casttv.com, now there is not much 'content' we can develop. I want to rank high for certain video names for Google. In terms of seo, i have told our assistant (seo guy now) to basically find all sites on the net related to videos and collect their about us and contact them, and see if we can build any sort of partnership and also to post a new interesting article a day for our blog... He has contacted 500 sites of which we were able to get good links from 5 of them (1 way). He has exhausted his search of quality 'video' sites, now what? what can I have him do so we can actually start ranking, we have 100k pages indexed of which we have around 1million. Only the top pages are allowed to be indexed, in terms of off page seo, what can I have our seo guy do all day now? should I fire him ($3k a month) and get a PR firm to try to get us into newspapers instead?
Intermediate & Advanced SEO | | ketlad0 -
Organic Search Problems?
Hey guys, I am in need of a little help! I am currently an aspiring SEO (trying to absorb as much information as I can and implement changes to help my site organically)... Most of my experience revolves around SEM. That being said, I have a problem. My site is doing well through paid search... great quality scores, etc. However, the content on my site (and even my site as a whole) does not "appear" to rank well in Organic. To explain further... My site is federalautoloan.com... and when I type in exact article names (or even federal auto loan) into Google, nothing shows up. And yes, my content is all original/unique content. I've even recently added a unique Calculator to my site. site:federalautoloan.com in the search bar shows results for all of my pages... but it just seems as though Google does not like my site for some reason. At least in Organic. The odd thing is, none of my other sites have this problem. Do you guys have any advice? The only thing I can think of is that somehow my 301 redirect was performed improperly. Yes, I had a permanent redirect performed on my site about 4 months back. The URL we were using prior just wasn't performing as well in Paid Search. But seeing as how that is the preferred method by Google... I'm really at a loss... Again, my site is FederalAutoLoan.com. Any help would be GREATLY appreciated. Even generic SEO advice would be appreciated. Edit: Two other things to note... I have plugged my site into the SEOmoz Pro tool... the tool is not showing any issues for my site. I am also making use of Google Webmaster Tools and the only error that shows up for my site is a Soft 404 for one of my pmcs... Not sure why it is even pulling one of my pmcs... but as far as I can tell, there really shouldn't be any problems. Note on the 404 for anyone who might give a response on that issue... http://www.seoconsultants.com/tools/headers returns a 200 OK response. Edit2: Question presented below.
Intermediate & Advanced SEO | | WPColt0 -
Alexa site title shows as "302 Found" on search result pages
If you search for the site "ixl.com" in Alexa, for some reason, it's showing the site as "302 Found" instead of showing the website name, IXL. If you drill into that, it shows the site as ixl.com, but underneath that, it says "302 Found" again. Every other site I search for seems to show the site's name properly. I have no idea where it's getting this "302 Found" from. Does anyone know how to fix this? Here's a link directly to the search results page: http://www.alexa.com/search?q=ixl.com
Intermediate & Advanced SEO | | john4math0 -
SEO Company Referral
I am looking for a great US based SEO company referral. I try to do as much as I can on my end but the more I learn, then more I find I need help to do a great job. Lately running the business takes most of my time, and we need a team who really specializes in SEO. Can anyone recommend a SEO company with a great reputation, someone who has done great work for you in the past? I get many people contacting me with SEO promises, but I need some advice from someone with more experience than me. I appreciate all of your insights.
Intermediate & Advanced SEO | | fertilityhealth0