Currently when I view the Media page the URL is /category/media/.

I need the URL redirected to /media/.

What's the easiest way to do in WordPress

1 Answer 1


You should be able to do it with a simple .htaccess fix, such as:

RewriteRule ^category/(.+)$ %{HTTP_HOST}/$1 [R=301,L]
  • HI that did not work. If I have other categories is there another way of doing in WordPress admin. Commented Jul 13, 2020 at 10:40
  • Ok fixed the solution I had to restructure the blog. I was before using catgeory as the main posts page which is why I was having this issue. Commented Jul 14, 2020 at 18:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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