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
-
Canonical Issue On AMP
Hi everyone,
Intermediate & Advanced SEO | | MuhammadQasimAttari
I have one issue about canonical. kindly guide me about it. I have a site example.com/abc and I convert it on an amp and know its URLs is example.com/abc=?amp. but the search console tells me to add the proper canonical URL but both pages are the same. kindly guide me about it. what will I do?0 -
How to solve JavaScript paginated content for SEO
In our blog listings page, we limit the number of blogs that can be seen on the page to 10. However, all of the blogs are loaded in the html of the page and page links are added to the bottom. Example page: https://tulanehealthcare.com/about/newsroom/ When a user clicks the next page, it simply filters the content on the same page for the next group of postings and displays these to the user. Nothing in the html or URL change. This is all done via JavaScript. So the question is, does Google consider this hidden content because all listings are in the html but the listings on page are limited to only a handful of them? Or is Googlebot smart enough to know that the content is being filtered by JavaScript pagination? If this is indeed a problem we have 2 possible solutions: not building the HTML for the next pages until you click on the 'next' page. adding parameters to the URL to show the content has changed. Any other solutions that would be better for SEO?
Intermediate & Advanced SEO | | MJTrevens1 -
SEO Strategy help
Hi, I run a B2B 3rd party retail ecommerce site and I am kind of stuck on how to implement my SEO strategy.
Intermediate & Advanced SEO | | steve45058
So I learned from AdWords data that the best converting words to my site is the (Brand name, Model Number). Many of my B2B customers already know what they want/are looking for. Now this is all fine and dandy for adwords, but I don't really know how to implement this strategy on the SEO side. I do rank decent for some of these product keywords, but 99% of them I do not (which confuses me because some of the brands I rank high for are the more popular brands eg. more competition.) When I do keyword research on SEMRush or another site, it tells me that the competition for this type of keyword strategy is extremely high. Any Help, Advice would be greatly appreciated. Thanks!1 -
PR & DA
What are the best ways to increase a website's page rank and domain authority?
Intermediate & Advanced SEO | | WebMarkets0 -
Yoast & rel canonical for paginated Wordpress URLs
Hello, our Wordpress blog at http://www.jobs.ca/career-resources has a rel canonical issue since we added pagination to the front page and category-pages. We're using Yoast and it's incorrectly applying a rel-canonical meta tag referencing page 1 on page 2, 3, etc. This is a known misuse of the rel-canonical tag (per Google's Webmaster Blog - http://googlewebmastercentral.blogspot.ca/2013/04/5-common-mistakes-with-relcanonical.html, which says rel-canonical should be replaced with rel-prev and rel-next for page 2, 3, etc.). We don't see a way to specify anywhere in Yoast's options to correct this behaviour for page 2, 3, etc. Yoast allows you to override a page's canonical URL, otherwise it automatically uses the Wordpress permalink. My question is, does anyone know how to configure Yoast to properly replace rel-canonical tags with rel-prev and rel-next for paginated URLs, or do I need to look at another plugin or customize the behavior directly in my child theme code? This issue was brought up here as well: http://moz.com/community/q/canonical-help, but the only response did not relate to Yoast. (We're using Wordpress 3.6.1 and Yoast "Wordpress SEO" 1.4.18)
Intermediate & Advanced SEO | | aactive0 -
Frames and SEO
In the old days frames were a problem because they could end up being orphaned pages that get indexed and appear in the SERPS but had to navigation so they were useless. Are frames still a problem with Google and if so what are the suggested solutions?
Intermediate & Advanced SEO | | siteoptimized0 -
SEO for a plumber?
Hello, How does a small, local business win at SEO (without abusing directories, articles, and paid links)? It seems that everyone is saying "create unique content", but that just doesn't seem realistic for a small plumber in a big metro area. One might suggest coming up with helpful articles about plumbing tips, etc., but there are thousands of spun articles on article directories already. On page optimization is in place, we are listed in the main directories, we've asked the people we know to link to us, and we are engaged in social media. What would you recommend next? Thanks, Will
Intermediate & Advanced SEO | | WillWatrous0 -
Seo for Q&A site
Hi, I am working on a newly launched Q&A site. We have very few questions and users right now and very very low seo traffic. In order to increase the number of users and seo traffic we intend to create a number of pages containing potential questions. Each page would have the following structure: Question. Ex: "What are the top wholesale suppliers of coffee in China?" Some content. Ex: Are you looking for wholesale suppliers of coffee in China? Post your question here? Question form Some additional content So there would be a page for wholesale suppliers of coffee for every country. We would publish the pages gradually and the content would be unique but yet similar (ex: only the Country changes). What do you think about this approach? Is it a good idea or can it be dangerous? We don't want to incur in any kind of penalization, we just want to give the possibility to people who are looking for specific information to find us and be able to post the request on our website.
Intermediate & Advanced SEO | | Ypsilon0