Pieter was correct.
It was messing up due to the custom loop I was running on the archive page. I removed the custom loop, and then adjusted the arguments with pre_get_posts
.
The strange thing was that, to test if it was this issue, running a custom loop on an archive page was the issue, I removed the archive page, and made a normal page with the custom loop, and I had the same issue.
I’m not sure how the above happened, I was probably just doing something else wrong.
Nevertheless, pagination is working now on my archive page, with the altered main loop.
Related Posts:
- Get the current page URL (including pagination)
- Why is “/page/2/” not working?
- Get current URL (permalink) without /page/{pagenum}/
- Date based URLs for custom posts and pagination
- Adding anchor to paginate_links + Safari anchor bug
- 404 on category.php pagination
- Add ‘articles’ prefix before blog posts url without affecting pagination
- Clean install – Changing permalinks in twentyeleven give 404
- Custom permalink for search and pagination
- wp_logout_url redirects to incorrect page because of pagination
- How to Get Page 2 / Paginated RSS Feed with Custom Permalink Structure?
- next_posts_link URL does not include name of custom post type
- Why is page/2/ not working?
- How to handle paging/pagination with a custom permalink?
- Change permalink structure for pagination only
- Pagination using paginate_links
- Home page Pagination – Other pages do not redirect to home page template
- Pagination url for page template
- problem with pagination in custom permalinks
- Whole site’s pagination not working after rewriting product permalink
- WordPress /page/2 gives 404 when custom permalinks is set to %category%%postname%
- How to get a clean pagination link without variable
- Added .html to Woocommerce permalink but pagination don’t work!
- Pagination links for taxonomy archive page 404 error on every page except first
- WordPress Pagination Not Working After Transfer from Localhost
- Add Custom Pagination Permalink
- Search page Paginations not working
- Pagination is not working, how to trace it properly?
- How to change pagination base from slash to query form?
- Category pagination first link works, remaining don’t
- Getting the terms from “Beautiful Taxonomy Filters” Results ot Integrate into “Ajax Load More”
- Post archive pages bringing me to a 404 page
- Creating custom permalink structure for languages
- Permalink not working for page without title
- Post titles not letting me use 2 consecutive dashes in permalink
- Using underscores instead of hyphens in the permalink
- flexible rewrite ‘ramble’ URLs with WordPress
- Changing pemalink structure to /%post_id%/%postname%/
- Posts not working on windows after changing permalinks
- Custom permalink structure
- How to get rid of index.php?
- Relative or Absolute Paths for Flash Video Player Files
- Update Old Links To Pretty Permalinks Custom Post Type
- Remove Custom Taxonomy Slug from Permalink
- remove permalink trailing slash
- Redirect old permalinks with Month and name to Post name on new site
- .htaccess – Redirect duplicated post ended in ‘-number/’ to the same url without the -number/
- WordPress Permalinks on Mac OSX Server 5 (El Capitan)
- How to find out who handles a permalink?
- Permalink /%category%/%postname%/ returns 404 on OSX
- Page Attachment Permalink Structure based on Menu Order?
- stop the_permalink printing and save as variable?
- Permalinks for pages
- 404 Error Problems with sCategory Permalink plugin
- How to change wordpress category list url
- Redirect Uploads Folder to Query Vars in WordPress
- how to link post-thumbnail to original img in a lightbox?
- wordpress custom post type taxonomy permalink
- flush_rewrite_rules breaks permalinks
- Change Permalink of attachment page
- Update the permalink for one post via wp cli
- How can I say if a URL is a post, page, or taxonomy archive?
- Getting back a permalink from custom url
- how to get a list of all top level pages
- add_rewrite_rule on default post type
- how to find duplicated permalinks?
- Permalink sub-routing catch-all
- How do i get post thumbnail using attachment code
- Access posts while mod_rewrite is broken
- The requested URL was not found on this server [closed]
- Update page breaks permalinks
- How to create posts or pages with the names in wordpress?
- Permalinks Question: Adding a prefix ONLY in front of the posts
- Xampp 7.3.3 fresh install of WordPress 404 pages unless permalink is set to plain
- Make the blog page a child of another page and rewrite the blog url
- WordPress slug confusion
- Extending page urls without getting a 404
- Author URL using wrong domain after using Edit Author Slug
- 404 on wordpress multisite Permalink pretty URLs
- 404 on pretty permalinks when serving via HTTPS
- Why does page for hierarchical taxonomy parent term go 404?
- Custom permalink gives 404 error only in some pages
- Can I link to content dynamically from a page to a new page?
- Question About Permalink in wordpress
- Create new URL structure for custom post types
- No Ones Been Able to Override my WordPress Rewrite Rule Issue!
- Remove index.php from URL (WP installed in subdirectory)
- Page returns 404 for specific permalink
- issue with the_permalink
- Facebook Share Permalink Javascript href
- Different Permastruck Between Ajax Request & Normal Request
- Problem with multiple tags in URL
- Custom Permalinks and filters?
- ?posts_type=xxx not rewritten
- 404 error on second page load for child-pages
- Permalink structure as code in back-end?
- Internal Server Error every time I push up my WordPress Project to Heroku
- WordPress custom permalinks, pages are now 404
- WordPress home page showing 404 error
- AllowOveride All causes assetts and Admin Urls to 404