WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

There's a website which has page URL's such as http://www.example.com/states/new-york/

If I go to http://www.example.com/states/ I get a 404 error.

The site also has http://www.example.com/category/some-category-name/ and http://www.example.com/tag/a-tag/

So clearly they haven't modified their permalink category and tag bases. Or customized them. I'm thinking they created custom page templates and pages who's parent is a a page called states to get the permalink /states/new-york/ but then why would going to /states/ throw a 404?

Can a link structure like this be created any other way?

share|improve this question

Are you asking if you could do something like this:


In the permalink structure? As to why it's giving back a 404 I'm not sure.

share|improve this answer
I know I can add /states/ to the custom permalink structure but that would apply it site wide. This site only has it on a few URLs which is why I think they setup custom page templates with wp_list_categories to make it function like a category page and /states/ in the URL being the parent page. – Anagio Aug 1 '12 at 20:18
It wouldn't necessarily apply it site wide, using this website as an example (a website I've worked on), I used /bravia-blog/%postname%/ and you will notice only on the blog page does it display /bravia-blog/. – Gilipe Aug 2 '12 at 15:57

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.