Pagination, Javascript & SEO
-
Hi
I need some help identifying whether we need to rethink the way we paginated product pages,
On this page
http://www.key.co.uk/en/key/workbenches when clicking page 1,2, etc - we have javascript to sort the results, the URL displayed and the URL linked to are different. e.g.
The URL for these paginated pages is for example: page2 http://www.key.co.uk/en/key/workbenches#productBeginIndex:30&orderBy:5&pageView:list&
Then the arrows either side of pagination, link to the paginated landing page e.g. http://www.key.co.uk/en/key/workbenches?page=3 - this is where the rel/prev details are - done for Google
However - 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& & doesn't take you http://www.key.co.uk/en/key/workbenches?page=3
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
-
Thank you this is helpful
-
If this page:
/en/key/workbenches#productBeginIndex:30&orderBy:5&pageView:list&
Had a rel="canonical" tag referencing this page:
/en/key/workbenches?page=2
Things would make a little more sense. But instead it references the main category page here:
en/key/workbenchesI think you're right to be concerned, and also agree that a View All Canonical page would be ideal for this site if they aren't willing or able to either pre-render the JavaScript so the client loads HTML, or at least land them on the right URL.
-
Hi Andy
Thank you for your feedback
To get to the ?page=1, ?page=2, The arrow to the side of the numbers links to these pages, but this URL isn't the one which actually loads. Like you said, you're never on the right URL/page
I'm just not sure of the best course of action from here & I'm unsure if this will affect SEO?
I know the webmaster has done this to sort the results by javascript, but I am not sure why they can't link & load the correct page e.g. http://www.key.co.uk/en/key/lighting-electrical?page=2
With this point you raised:
There does actually seem to be some problem with the navigation as well. If I go to http://www.key.co.uk/en/key/workbenches?page=3 and the go forwards or back a page, I then am on page 2 or 4, but I see the following URL:
http://www.key.co.uk/en/key/workbenches?page=3#productBeginIndex:90&orderBy:5&pageView:list&
Will Google only ever see http://www.key.co.uk/en/key/workbenches?page=3? I am not sure how the crawlers would work in this instance?
Thank you
-
Hi Becky,
I think I am with you...
So is what you are saying, that there are different versions of the same page depending on which option you choose to move forwards with?
So where is ?page=1, ?page=2, etc linked from?
There does actually seem to be some problem with the navigation as well. If I go to http://www.key.co.uk/en/key/workbenches?page=3 and the go forwards or back a page, I then am on page 2 or 4, but I see the following URL:
http://www.key.co.uk/en/key/workbenches?page=3#productBeginIndex:90&orderBy:5&pageView:list&
So I can be on page 1 or 5 and still see page 3 in the URL.
That aside, what I see is hashed (fragmented) content and Google doesn't index that. It understands that whatever is after the hash / fragment is used for something specific to a page and therefore for navigation purposes.
I would look to see what is going on with the navigation because it looks like the pagination is there, just not changing URL's correctly.
If I start at http://www.key.co.uk/en/key/workbenches and the click next, I get to the '2nd' page, but if I go back, it still shows me as being on the 2nd page in the navigation numbers.
I would say that there are some issues to iron out here first of all.
-Andy
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
-
Top SEO Influencers 2015
Hello! I'm doing a little bit of research into key SEO players and thought I would get some opinions from the Moz community. Who's your go-to SEO guru? Who's up-and-coming in the world of SEO? Who are your favourite SEO influencers on Twitter? Cheers, Lewis
Intermediate & Advanced SEO | | PeaSoupDigital0 -
SEO Checklist for eCommerce?
Over the past week or so, my eCommerce site has experienced a large drop in organic traffic from Google.I have used analytics to determine that the pages that have seen the biggest losses in traffic are product pages. I know there are so many seo checklists/site audit checklists out there recommending different things, but does anyone have a good checklist (or link to a good checklist) that would fit our situation best? Thank you!
Intermediate & Advanced SEO | | Gordian0 -
SEO Company that bills on results?
After having bad experiences with a few seo and ppc companies, I would like to find a company that operates on the premise that they should get paid for producing results instead just for signing a contract. I'm not thinking that any payment is contingent results but that a large portion of the billing is. I also know that it can take several months to get to an seo goal so I'm not taking a "you have one month to fix our site or we don't pay" approach. Is there a company out there that has enough confidence in their white-hat processes that they actually back their services with some sort of guarantee?
Intermediate & Advanced SEO | | IanTheScot0 -
Why is SEO Moz only crawling my homepage?
When I send the SEO Bot to crawl my website, it only crawls the homepage? Does anyone know why this is happening? Thanks, Andy
Intermediate & Advanced SEO | | ChrisCurdDesign0 -
Where is the Real Value in SEO?
Interesting topic and would love to hear some thoughts. How do you justify SEO, measure results, etc etc
Intermediate & Advanced SEO | | imageworks-2612900 -
Can Javascript be SEO friendly?
Is some Javascript SEO friendly? I know that Google Webmaster Guidelines states you should avoid the use of Javascript, (http://support.google.com/webmasters/bin/answer.py?hl=en&answer=35769), but does any one know if Google can read some Javascript or generally not?
Intermediate & Advanced SEO | | nicole.healthline0 -
Navigation - Balancing UX & SEO
I'm currently evaluating our navigation in the course of a site relaunch. From reading a number of articles and posts on seoMOZ, here are the elements I've found important to consider: Use CSS (not Javascript) for the primary drop-down navigation menu Get rid of two design elements from our earlier days: The 30 something site-wide category links in the footer, and many no-followed internal links (in an attempt to sculpt PR) Keep all pages within 3 clicks of the homepage, and have ample cross-links within internal pages. The one major problem I'm facing is how to balance UX and SEO in the primary navigation bar. To illustrate, let's assume I sell Tennis equipment. If one of the top-level categories on my navigation bar was "Rackets", if I was designing purely with SEO in mind the category names would be: Tennis Rackets -> Wilson Tennis Rackets Head Tennis Rackets Prince Tennis Rackets ....as the full, three word anchor text will be most specific and valuable to pass reputation to the category pages. However, from a UX perspective, writing "Tennis Rackets" after each category is unnecessary, and it would look MUCH cleaner to instead have: Tennis Rackets -> Wilson Head Prince ....but this would obviously be less beneficial from a SEO standpoint for each individual, manufacturer racquet page as the entire search term ("Wilson Tennis Rackets") is not in the anchor text. As these links will be on every page of the site, I'm struggling with which to choose - clean navigation or improved SEO. My Questions: I would love to hear the communities thoughts on how to weigh the balance of these two - clean UX navigation vs. SEO-rich specific anchor text - in navigation. Also, I'd appreciate hearing if any of my original 3 assumptions for the re-design are off-base or incorrect. Thank you!
Intermediate & Advanced SEO | | AndrewY0