[QUESTION] Stripping category base on PAGES on Wordpress

Myst3ry

Elite Member
Joined
Jul 6, 2013
Messages
1,533
Reaction score
1,400
Hey guys.

I want to strip the "category" base on pages on Wordpress which eventually happened when I added the pages under specific parent page.

I want the parent page to stay in the breadcrumbs but not in the URLs.

The permalink way is already done. That applies on posts, not pages.
The Rank Math way for stripping category base is applied and that applies to posts only.

If I remove the pages from being under parent pages, they won't be in the structure hierarchy.

For example:

My page: On Page SEO

I would like to be under SEO(page) which is under Digital Marketing(page).

The permalink is showing /digital-marketing/seo/on-page-seo

I need is as /on-page-seo

Any idea?

Thanks in advance.
 
Use the setting "Post name" in WordPress permalinks.

wordpress-permalink-settings-5f95c428ca5e1.png
 
I have already done that. I mentioned in the thread. Thanks anyway.
Sorry, my fault, I did not really understand your question then, but great that you fixed it .. =)
 
Back
Top