Thursday, January 10, 2019

Pagination urls


Currently considering a couple different URL schemes for pagination:


/blog/       -> First result page
/blog/1/ -> First result page
/blog/2/ -> Second result page

Another possibility:


/blog/            -> First result page

/blog/page/1/ -> First result page
/blog/page/2/ -> Second result page

The problem with the first one is that the page-number could be mistaken for an article id by the user.


The problem with the second one is that another url segment is needed, which is also bad for SEO.


Alo should the pagenumbers be used in the URL? Or rather the article offset?


Pros? Cons? Any thoughts?



Answer



If the article's URL is the slug, then the /1 shouldn't be mistaken as an article ID.


/blog/article-title  -> is an article

/blog/2 -> is a page

From a UX point of view, /blog/page/2 does make more sense: if for example the URL is shared, the reader can better guess what is the content going to be. Even if putting more keywords in the URL is bad for SEO, the only keywords in this URL are going to be blog and the domain name, then there isn't much to loose if you add one keyword more.


In conlusion: /blog/page/X has a better usability that outbalances the possible SEO penalization of having (just) one more keyword.


No comments:

Post a Comment

technique - How credible is wikipedia?

I understand that this question relates more to wikipedia than it does writing but... If I was going to use wikipedia for a source for a res...