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


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. Jul 13 '20 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. Jul 14 '20 at 18:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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