Custom post type archive pagination showing 404 error

I recently ran into an error while creating an archive page for a WordPress custom post type that had me really stumped. The archive page for the custom post type showed a 404 error when an existing paginated page was meant to be shown in its place. Say you create a custom post type called …

Continue reading