{"id":4300143,"date":"2013-11-08T17:55:59","date_gmt":"2013-11-08T17:55:59","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/custom-page-pagination\/"},"modified":"2016-08-21T12:22:51","modified_gmt":"2016-08-21T12:22:51","slug":"custom-page-pagination","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/custom-page-pagination\/","title":{"rendered":"Custom Page Pagination"},"content":{"rendered":"<p>Hoping someone can help me with a problem. I am using a custom page to display all posts with pagination, I noticed last night in webmaster tools that I am getting some soft 404&#8217;s from the custom page. After looking at the soft 404 I have realised that instead of stopping at the last page the rel next\/prev is pointing to the next page, even though pagination isn&#8217;t. <\/p>\n<p>When I visit any page after the last paginated page I am getting the &#8220;no posts found&#8221; instead of a 404.<\/p>\n<p>This is the code I am using http:\/\/pastebin.com\/q5aUQ3HP<\/p>\n<p>Would appreciate any help.<\/p>\n<p>Thanks<\/p>\n","protected":false},"template":"","class_list":["post-4300143","topic","type-topic","status-closed","hentry","topic-tag-loop","topic-tag-pagination","topic-tag-query"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/4300143","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/4300143\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=4300143"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}