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
-
Paginated Pages Page Depth
Hi Everyone, I was wondering how Google counts the page depth on paginated pages. DeepCrawl is showing our primary pages as being 6+ levels deep, but without the blog or with an infinite scroll on the /blog/ page, I believe it would be only 2 or 3 levels deep. Using Moz's blog as an example, is https://moz.com/blog?page=2 treated to be on the same level in terms of page depth as https://moz.com/blog? If so is it the https://site.comcom/blog" /> and https://site.com/blog?page=3" /> code that helps Google recognize this? Or does Google treat the page depth the same way that DeepCrawl is showing it with the blog posts on page 2 being +1 in page depth compared to the ones on page 1, for example? Thanks, Andy
Intermediate & Advanced SEO | | AndyRSB0 -
AMP Benefits
Hello, Does AMP have ranking benefits ? Should I just AMP my post or all the pages of my website, product page, homepage etc... Thank you,
Intermediate & Advanced SEO | | seoanalytics0 -
Category Pages & Content
Hi Does anyone have any great examples of an ecommerce site which has great content on category pages or product listing pages? Thanks!
Intermediate & Advanced SEO | | BeckyKey1 -
Menu Structure & SEO
Hi I have been trying to decide whether we need to change our menu structure http://www.key.co.uk/en/key/ We have a lot of subcategories which are not in the menu structure and for SEO I wonder whether its best to have menu drop downs, so if a customer hovers over one category, it will display all the subcategories within this. I am concerned that sub categories we are trying to rank are many levels away from the homepage e.g If you want to find leather office chairs from the homepage, you have to go to the 'More categories' link, then choose seating > office seating > leather office seating. Users need to do a lot of navigating before seeing what we offer. I would prefer if a user could see these options in the menu when they hover over it. Does anyone think this would help SEO or just customer journey? Thank you
Intermediate & Advanced SEO | | BeckyKey0 -
Map with usability and SEO purpose
For my client I need to add some structure to its pages. The deepest pages are about restaurants and are sorted per city and then per province as a larger silo. I want to do this: Homepage > Provinces > Cities > Restaurant page This structure is optimal, but I as a usability freak I prefer making the experience cool for the users. I want to add interactive pictures that are cool for the user and hopefully are readable for the google bots, I want to do it like this: The homepage shows a map of my country that has the twelve provinces outlined, that light up when you hover over them. Then when you click a province you get to the province page. On the province page you see a large image of the province and see all cities where there are restaurants, when you hover over a city it grows a little and when you click it you arrive at the city page, at that page you will find a list of all restaurants that are available in the city. What I need to know is, is it possible for google to see these pictures as a nice site structure? Or do I need to add the ugly footer links and have pages with lists of links...? And what is the smartest way to structure this, flash?
Intermediate & Advanced SEO | | Lebron270 -
SEO Recommendations
For about 3 years our website was number one in Google.co.uk for our trades main keyphrase which resulted in excellent sales. About 12 months ago that position started to slide downwards and for that keyphrase we are now number 10. We are still at number's 1,2 and 3 for several other keyphrases but ones that result in fewer daily Google searches and resultant sales. I have always added unique content to the site but admit that my blog posts became less than daily over the past 12 months. However I am adding posts as often as I can now, of good length and of unique content. As well as tweaking all our online seo factors I'm trying to add good backlinks as often as possible. I wonder if anyone has been in a similar position and what they did to try and regain their previous position? Colin
Intermediate & Advanced SEO | | NileCruises0 -
Web fonts & SEO
Hi everyone ! My question is regarding web fonts. We are currently working on a new design for our website and we're thinking about using web fonts instead of images containing the fonts we'd like to have. I'd like to know if web fonts can affect SEO as they need to be downloaded on the visitor's computers and consequently can slow down the load time of our web pages. If anyone has used web fonts in the past, do you have some specific tips to share ? Thank you in advance for your answers! Jeremie
Intermediate & Advanced SEO | | Maxxum0 -
Local SEO for franchises
I have a client who franchises an ice cream shop. It started in Utah and there are several stores there. They are ranking well for local searches based in Utah. Now they have opened a store in Federal Way, WA. How can I get the new location to rank for local keywords on the same website?
Intermediate & Advanced SEO | | fivestarfranchising0