Your cart is currently empty!
Page & Post with same slugs
—
by
for some reason when I restrict the Category.
I have a category “Reading” with a slug “reading”
I have a page called “Reading” with the same slug
If I restrict the category “Reading” to certain groups
and go to the PAGE Reading It gives me a “Page not found” if you’re not in that group.
It’s restricting the page and the category.
Posted in Groups Restrict Categories
Comments
7 responses to “Page & Post with same slugs”
Sent the email yesterday.
Hi Gerik,
Thanks, I’ve checked the page and changed the slug to something else and the page is still inaccessible (I’ve changed the slug back to how it was before after that). This is not related to the category but it’s probably because you set an access restriction which has been removed later on (it’s a known bug pending to be fixed in Groups). The workaround is as follows:
– create a new page and copy the content of the old page to it
– change the slug of the old page to something else
– adjust the slug of the new page to the desired one
– delete the old page
The new page will be available as usual, please let me know if you need further help after that.
Yes they are different. This is not a hypothetical question, it’s happening to me now.
The PAGE comes out of PAGE NOT FOUND, when I disable the category restriction plugin it works fine.
Hi Gerik,
please send us dashboard admin access and the page/category with the problem to support at itthinx dot com and we’ll have a look.
Thanks!
Category “universe-list” is can be viewed by only GroupX
Page = http://website.com/universe-list/
Category = http://website.com/cat/universe-list/
Single Post = http://website.com/2015/01/universe-01302015/
Hi Gerik,
as @kento says urls are different.
thanks!
Hi Gerik,
Although the category and the page have the same slug, it doesn’t matter as long as their URLs are different. For example:
– Category URL http://example.com/category/reading/
– Page URL http://example.com/reading/
If your page is actually a Post which is assigned to the Reading category, then it would automatically be protected to non-members of the group that is used to restrict the Reading category, which is what the plugin would be correctly used for.
Cheers