Title: Pagination error 404
Last modified: July 30, 2018

---

# Pagination error 404

 *  Resolved [sodr](https://wordpress.org/support/users/sodr/)
 * (@sodr)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/pagination-error-404-2/)
 * Hi,
    Our site got a trouble with gallery pagination. All attempts to switch at
   any page in every gallery throws error 404. However in theme previsualization
   mode the pagination works (even AJAX). What should we do to have working pagination
   at the published site?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Contributor [Imagely](https://wordpress.org/support/users/imagely/)
 * (@imagely)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/pagination-error-404-2/#post-10549043)
 * Hey [@sodr](https://wordpress.org/support/users/sodr/) – I’m really sorry to 
   hear about the pagination issue. Would you mind providing a link to this gallery
   w/ the error?
 * Let’s first check the server settings to make sure you have everything up to 
   date. Reach out to your hosting provider and confirm they have the [WordPress.org Requirements](https://wordpress.org/about/requirements/)
   settings in place:
 * MySQL v5.6 (or higher)
    PHP 7.2 (or higher)
 * Memory limit: 250MB (or higher)
    Upload limit: 50MB (or higher) Post limit: 50MB(
   or higher) /wp-content directory has sufficient permissions (i.e. 755)
 * Navigate to Settings > Permalinks in your WordPress dashboard and set them to‘
   post name’.
 * With those in place, everything should work smoothly for your site overall. If
   the issue still shows up, let’s check to see if there is a plugin conflict happening.
   Temporarily deactivate all plugins, then reactivate NextGEN Gallery only. Does
   the issue still appear? If so, temporarily switch to a WordPress theme (this 
   deactivation is only intended to quickly check to see if the issue goes away 
   or is still present). If by deactivating the other plugins, the issue does go
   away, reactivate each of the other plugins one at a time to locate the culprit.
   Keep me posted on your results 🙂
 * – Becky
 *  Thread Starter [sodr](https://wordpress.org/support/users/sodr/)
 * (@sodr)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/pagination-error-404-2/#post-10554062)
 * Hi Becky,
    This point did the trick:
 * > Navigate to Settings > Permalinks in your WordPress dashboard and set them 
   > to ‘post name’.
 * Everything else were checked twice before posting here.
 * Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Pagination error 404’ is closed to new replies.

 * ![](https://ps.w.org/nextgen-gallery/assets/icon-256x256.png?rev=2083961)
 * [Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery](https://wordpress.org/plugins/nextgen-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextgen-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextgen-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/nextgen-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextgen-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextgen-gallery/reviews/)

## Tags

 * [error 404](https://wordpress.org/support/topic-tag/error-404/)
 * [pagination](https://wordpress.org/support/topic-tag/pagination/)

 * 2 replies
 * 2 participants
 * Last reply from: [sodr](https://wordpress.org/support/users/sodr/)
 * Last activity: [7 years, 9 months ago](https://wordpress.org/support/topic/pagination-error-404-2/#post-10554062)
 * Status: resolved