Skip Navigation

[Resolved] Views pagination trigger 404 error

This support ticket is created 7 years, 4 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Our next available supporter will start replying to tickets in about 2.26 hours from now. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 8 replies, has 2 voices.

Last updated by Dallin Chase 7 years, 3 months ago.

Assisted by: Luo Yang.

Author
Posts
#548098
Screen Shot 2017-07-12 at 2.59.50 PM.png

I am trying to: use pagination

I visited this URL: hidden link

I expected to see: The next page when I clicked the pagination at the bottom of the page

Instead, I got: A 404 page.

The weird thing is that the pagination works fine for another CPT archive on the site hidden link
But doesn't work for the hidden link

Here is a brief video showing illustrating hidden link

Thanks guys! We love Toolset and appreciate all your hard work.

Dallin

#548194

Dear Dallin,

I assume we are talking about the pagination links at the bottom of the problem page:
hidden link

for example: I click the link "2", it redirect me to the URL:
hidden link

Please make sure you are following our document to setup those pagination links:
If it is a normal view and a normal wordpress page, please check document:
https://toolset.com/documentation/user-guides/views-pagination/
Views Pagination – Split Content into Pages
If it is wordpress archive page, please check document:
https://toolset.com/documentation/user-guides/custom-pagination-for-wordpress-archives/

If the problem still persists, there might be some other compatibility problem in your website, please try this:
deactivate other plugins and switch to wordpress default theme, and test again

#548564

Thanks for getting back to me Lou. Check out this short video hidden link

#548598

I assume we are talking about a Views wordpress archive, the pagination links are outputted from your theme files/other plugin, there might be other compatibility problem in your website, I suggest you check these:
1) deactivate other plugins and switch to wordpress default theme 2017, and test again
2) If the problem persists, please provide a database dump file of your website in below private detail box, also point out the problem page URL, I need to test and debug it in my localhost.

#552318

Thanks for the details, I am downloading the file, will feedback if there is anything found

#552331

You provided a Types setting file, but I need a database dump file, you can get it with mysql tools, for example: PHPmyadmin, you can also follow our document to provide a copy of your website:
https://toolset.com/faq/provide-supporters-copy-site/

Please let me know if you need assistance to get the database dump file.

#552830

Thanks for the details, I am downloading the file, will feedback if there is anything found

#552839

Here is what I found, please try this in your website:
Dashboard-> Toolset-> Post types
Find and edit post type "Learn", in section "Options", enable option "Pages", and test again.

More help:
https://codex.wordpress.org/Function_Reference/register_post_type#rewrite
'pages' => bool Should the permalink structure provide for pagination. Defaults to true

#553076

Oh gosh, how silly of me. That fixed the issue. Thanks again Luo!

Dallin