The first page of the archive displays ok but when I click ‘older posts’ I get a 404 error on …/videos/page/2
I’ve treid resetting my permalinks (which are currently set top custom > /%postname%/) but it still won’t work. All tutorials I’ve found state the code I’ve used above should work, so what am I doing wrong?
Thanks Keesiemeijer but it still doesn’t work with that code.
I have managed to get it to work in a slightly different way though, which is to alter ‘has_archive’ to be ‘false’, then to add a template name to the archive-projects.php and finally create a standard page called Videos and set it to use the archive-project template. This allows me to add the link to the dashboard set menus as well which is a bonus.
However, ideally I rather not have to rely on the user creating a page for the archive and that the custom post archives just worked ‘out of the box’.