A question can only have one accepted answer. Are you sure you want to replace the current answer with this one?
You previously marked this answer as accepted. Are you sure you want to unaccept it?
Thanks work fine for me!
Add comments here to get more clarity or context around a question. To answer a question, use the “Answer” field below.
rewrite ^/category/something/(.*)$ http://site.com/something/$1 redirect;
service nginx restart
That's for a 302 redirect. For a 301, use permanent not redirect.