I haven't had too much cause to use pagination in the past, being able to use other methods to achieve my results (or just not having enough pages to warrant using it).
However, converting a blog today showed me some serious issues with paginated pages.
Paginated pages (ex: http://www.example.com/blog/?pg=3) to google is just a copy of the original list-view page with a different url (albeit a parameter). I may be wrong (If so, please correct me as I did spend quite a while searching for an answer or documentation) but I cannot find any way to easily reflect the page number inside the title (only if the page is paginated) within couch. To clarify: An if statement checking if the current page/view is a paginated one (such as page 2). while not necessarily in the context of the <cms:pages> tag that lists the pages within the template.
The most important point is the URL rewriting of paginated pages. There is none - meaning a prettyURL site with pagination would be forced to use things such as "www.example.com/blog/?pg=2" rather than something such as "www.example.com/blog/page/2/" (If pagination is correctly setup using next/prev rel's on the pagination links and page titles etc are correctly reflecting, this is much better for SEO in terms of general appeal to the site, ease of use and cleanness. It also benefits by helping google to understand where the pagination starts and ends and tells them what type of content the pages have. (Which is important because google can often mistake paginated pages as duplicated content, since they usually display a lot of duplicated content save for the small list they're paginating.)
I ask here in case KK sheds some light that may help us all in the future regarding PrettyURLs and determining if the view is "paginated" rather than just the base list-view.
However, converting a blog today showed me some serious issues with paginated pages.
- Code: Select all
<cms:paginator />
Paginated pages (ex: http://www.example.com/blog/?pg=3) to google is just a copy of the original list-view page with a different url (albeit a parameter). I may be wrong (If so, please correct me as I did spend quite a while searching for an answer or documentation) but I cannot find any way to easily reflect the page number inside the title (only if the page is paginated) within couch. To clarify: An if statement checking if the current page/view is a paginated one (such as page 2). while not necessarily in the context of the <cms:pages> tag that lists the pages within the template.
The most important point is the URL rewriting of paginated pages. There is none - meaning a prettyURL site with pagination would be forced to use things such as "www.example.com/blog/?pg=2" rather than something such as "www.example.com/blog/page/2/" (If pagination is correctly setup using next/prev rel's on the pagination links and page titles etc are correctly reflecting, this is much better for SEO in terms of general appeal to the site, ease of use and cleanness. It also benefits by helping google to understand where the pagination starts and ends and tells them what type of content the pages have. (Which is important because google can often mistake paginated pages as duplicated content, since they usually display a lot of duplicated content save for the small list they're paginating.)
I ask here in case KK sheds some light that may help us all in the future regarding PrettyURLs and determining if the view is "paginated" rather than just the base list-view.