If you want to use http://domain.com/2014/04/03/sample-post/ then where is the word label in your URL?
That’s for post my friend.
Are you trying to find errors in my explanation or constructively adding to a solution?
So the PAGE called Label will have the url: http://domain.com/label/, which works, but all sub-pages of that page called ‘Label’ don’t seem to be working.
Where did you set these permalink bases? If you did it via code when adding a CPT for example, you MUST visit Settings > Permalinks in order to flush the permalinks cache, or you will likely see these 404 errors.
If this is not the case for you, are you sure you have set some Pages to be Child Pages of /label/? If you haven’t, this will be why you’re seeing 404s.
Nope, didn’t add CPT(?) or anything.
I don’t have any coding-skills
Just try it yourself, it won’t break your site or anything:
With the permalink settings on http://domain.com/2014/04/03/sample-post/
– create a page called ‘label’ (no parent)
– create a page called ‘test’ (with as parent: ‘label’)
– now view the page ‘test’ at http://domain.com/label/test/ Result >>> 404-error
It all has to do probably with the fact I’m calling the parent-page ‘label’ and that that word would be ‘reserved’ for the system/software or something I guess.
I think it has something to do with this:
Reserved Terms, though ‘label’ isn’t in the list.
I do see the word ‘label(s)’ appear in the examples above the list on the page, but it’s not clear to me if this relates to my issue or not.
The fact that it was giving you a 404 error and that label is often a key word in WP’s structure seems to indicate you shouldn’t be using it.
Please run a basic test just to make doubly sure that something else isn’t wrong, and use a different slug (e.g. reclabel) for the page and child pages. Check that that definitely works as you expect in terms of permalinks, and then we can conclude that “label” is not going to work for you.
Please disregard my last post. I found a test site I had lying around. I created a Page with /label/ and a second with /dj/ as a child of /label/. Everything worked fine, no 404s, so something else must be the issue.
@hiphopinenglish: thnx for replying.
Well, what you said in your 2nd last post I did.
I did rename the page into reclabel and then everything seems to be fine, no 404’s: all good.
Could it be the term was reserved for the theme maybe?
I’ll get back on this…
- The topic ‘Permalinks Issue’ is closed to new replies.