After I installed the Copyblogger theme, I noticed that the “Archives” link in the header of the page did not display the archives for my site. I reviewed this article which talks about adding links to the header navigation area, but it did not have any information on my problem. After some searching, I found a comment on the main Copyblogger site which had the details I needed:
- Create a page
- Enter whatever you want in the title, but do not enter any content
- Select “Archives” from the Page Template dropdown menu on the right
- Enter “archives” (without the quotes) in the Page Slug field, which is also on the right
- Save/publish your page
After following these steps, the archives link worked!
9 comments ↓
Thanks so much for this. I was searching for a while. I’m new to WordPress and couldn’t figure it out. Was just about to edit the navigation bar manually.
Thanks again!
You are welcome, glad it helped you out.
Thanks for the clear explanation (at last) but… I don’t have an “Archives” option in the page template dropdown menu…. any ideas?
Simon,
I looked at your site, it appears that your archives are working. I checked my Page Template drop down menu and saw “Default Template”, “Archives”, and “Sitemap” as entries. Are you seeing any of those?
Thanks so much for sharing this pointer!
Make sure that you configure under Options> Permalinks>
Custom, specify below and set your permalink structure to:
/blog/%postname%/
Thanks for this, it worked great.
As a sidenote, in version 2.5, the ‘Archives’ option is at the bottom of the page under ‘Page Templates’.
Thanks for this - I couldn’t figure out why it would come up with a 404. Another side note on 2.5 - you have to save the page once before the slug edit option comes up, then you can change it.
[…] with (Copyblogger) had a link at the top of the page called Archives but it didn’t work. This page on Andy Sylvester’s blog explains how to fix this. You basically create a page (not a post) called ‘archives’ or […]
Leave a Comment