Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I'm working on a new site and I'm having a problem with accessing archives. I've created a custom post type called 'sport', and I've changed the permalinks settings, so to access the sport section I use the following URL:


I've also added an Archive widget to this section (filtered by year), so from the drop down I select the year and I am expecting to see all the posts sports from that year. But I get brought to the 404 page.

After selecting the year from the archive drop down, my URL looks like this:


When I manually edit the URL to look like this:


I then see all the relevant posts, but I'm brought away from the sport section of the site. I want to remain in the sport section of the site and to see all the sport posts for the year selected.

Any help appreciated...


share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.