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
-
SEO for multiple languages [Arabic]
Hello all, I am currently managing a Marketplace that comes in two different languages: English & Arabic. The English website is, fortunately, doing quite well in terms of SEO performances but, not the Arabic one. The website has two kinds of content: Static content: controlled by me. It includes menu items, navigation, static pages etc which is properly translated among the two languages User-uploaded content: It includes ads/news posted by the user which may not be translated to Arabic if they chose not to do it. Now if somebody goes to the Arabic website and check a news item that doesn't have an Arabic translation, it will show the English title. I am assuming, serving content in a different language that is specified in the hreflang is a straight no, right?
Intermediate & Advanced SEO | | MozammilStorat0 -
Meta refresh bad for SEO
Hi there, Some external developers have created a wishlist for a website that allows visitors to add products to a wishlist and then send an enquiry. Very similar set-up to a shopping basket really (without the payment option). However, this wishlist lives in a separate iframe and refreshes every 30 seconds to reflect any items visitors add to their wishlist. This refreshing is done with a meta refresh. I'm aware of the obvious usability issue that the visitor's product only appears after 30 seconds in their wishlist. However, are there also any SEO issues due to the refreshing of the iframe every 30 seconds? Please let me know, whether small or large issues.
Intermediate & Advanced SEO | | Robbern0 -
Hypothetical SEO Question
I am running a website for a law firm. It has been running for many, many years and has plenty of backlinks and authority. I then create a standalone website for a specific type of case that the law firm is handling. On that website, I have a page that copies some of the attorney bio text from the main website. How much of a negative impact will this standalone website have on the main website as far as duplicate content issues are concerned? Please explain your answer in detail. Thank you in advance.
Intermediate & Advanced SEO | | goldbergweismancairo0 -
SEO Experts: Where did you start?
Hi all! I'm beginning to travel down the road of becoming an SEO expert! I've attended the latest few webinars on Moz, and have started watching the White Board Fridays. However I'm wondering, for the current SEO Experts, how did you get to where you are today? I.e. What books did you read? Did you pay for classes or just learn everything from Moz? Where is a good place to get an SEO Expert Certification/Is it necessary? How long did it take you to become an expert? (Stuff like that) I suppose I'm looking to make a list for myself, organizing what I should learn first, and then create a timeline moving forward. Thanks for your help Mozzers! - Briana B.
Intermediate & Advanced SEO | | JCWhelan13 -
SEO from links in frames?
A site was considering linking to us. Their web page is delivered entirely via frames. Humans can see the links on the page, but it's not visible in source. I'm guessing it means Google can't detect the links, and there is no SEO effect, but I wanted to confirm. Here's the site: http://www.uofc-ulsa.tk/ Example links are the Princeton Review and Kaplan on the right sidebar. Here's the source code: view-source:http://www.uofc-ulsa.tk/ Do those links have any SEO impact?
Intermediate & Advanced SEO | | lighttable0 -
SEO for an exponentially growing site?
Hey Mozers! I was having a quick chat with a friend the other day on doing SEO for a site that grows in page size at an exponential rate and was just wondering how you would go about optimizing it? The example that we used would be a site that allowed users to upload videos and then have people vote on two videos against each other. So, if there are 100 uploaded videos and each of them are pared up with the other 99 to create a unique voting/battle page which has it's own unique URL, the site can get very large, VERY quickly. Meaning if just one more video is uploaded there would be How exactly would you go about optimizing the site? My biggest area of confusion would be generating sitemaps. I'm aware of best practices with large sitemaps (i.e. having a sitemap of sitemaps, not going over 50k in entries per sitemap etc..) But, how would you go about creating the sitemaps for this website if it's growing at an exponential rate, if at all? If you have any other questions feel free to ask and I'll clarify it. Thanks! 😃 **TL;DR How would you optimize a site that grows at an exponential rate? **
Intermediate & Advanced SEO | | JordanChoo0 -
Mobile SEO
Hey, In the following article, Google recommended using a 301 redirect but doesn't specify why. http://googlewebmastercentral.blogspot.co.uk/2011/02/making-websites-mobile-friendly.html I assume this is to pass over link equity to the relevant mobile/desktop variation. Can anyone confirm this? Also is there any other reason? Again assuming this would keep the correct URLs in the correct index? Anything else anyone can chip in would be great. Thanks
Intermediate & Advanced SEO | | CraigAddyman0 -
Server Migration, Does it effect SEO?
About to go through a server migration. My intitial thought is that a change in servers shouldn't really change my rankings. But I've heard rumors... Can a server migration change rankings? Why?
Intermediate & Advanced SEO | | Thos0030