Wordpress, how to remove category url?

kwantos

Junior Member
Joined
Jul 29, 2013
Messages
178
Reaction score
78
Hello,

What is the best way to remove the category url?

ex. myweb.com/category/bhw/seo/

Greets in advance
 
In settings -> permalinks you could do
1673901584295.png


Or you can use an plugin like Remove Category URL/Yoast SEO should have it too

or use HTACCESS

RewriteRule ^category/(.+)$ http://domainthingohere.tld/$1 [R=301,L]
 
In settings -> permalinks you could do
View attachment 239387

Or you can use an plugin like Remove Category URL/Yoast SEO should have it too

or use HTACCESS
I been using a plugin along with 100's of thousands of people for all these years, and you just revealed on this forum that all we need to do is put a . there! You can't be serious?! lol
 
I been using a plugin along with 100's of thousands of people for all these years, and you just revealed on this forum that all we need to do is put a . there! You can't be serious?! lol
I am 100% serious, that screenshot is from my own site.\
I should totally lock these secrets away in the Jr. Executive section maybe.
 
I been using a plugin along with 100's of thousands of people for all these years, and you just revealed on this forum that all we need to do is put a . there! You can't be serious?! lol
(s)he's serious, I used this technique too on many of my sites, so it's legit :)
 
I am 100% serious, that screenshot is from my own site.\
I should totally lock these secrets away in the Jr. Executive section maybe.

(s)he's serious, I used this technique too on many of my sites, so it's legit :)

Lol This is the craziest WordPress secret! Thanks very much, very good tip to know. I wonder how long this solution has been out there, and I am guilty of first degree noobery? :D
 
Lol This is the craziest WordPress secret! Thanks very much, very good tip to know. I wonder how long this solution has been out there, and I am guilty of first degree noobery? :D
nah, not knowing this doesn't make you noob, don't worry :)

I don't know how long this little trick has been out for, but I've been using it for at least 4-5 years
 
I can remember me going all out finding a solution at one point cuz i hated the /category/ URLs
It was worse when I used fully built elementor/page builder templates and they customized the shit outta the templates itself changing alot of the customizable options.
But yeah, sometimes, it's good to throw yourself in a pile of junk to find the gold haha
 
Back
Top