I have set category and tag base as below..

Category: News, which makes category url as domain.com/News/category-name

Tag: News-List, which makes tag url as domain.com/News-List/tag-name

After that i redirected old urls to new urls...

RewriteEngine on
RewriteBase /
RewriteRule ^category/(.*) http://domain.com/News/$1 [R=301,L]
RewriteRule ^tag/(.*) http://domain.com/News-List/$1 [R=301,L]

Issue is my custom permalink structure which is /%category%/%postname%/

And all the posts / pages result in 404 error.

What i am missing in redirection rule??

1 Answer 1


try to go under "Settings" -> "Permalink" and save again the settings. You need to flush the permalink

  • Please edit your answer, and add an explanation: why could that solve the problem?
    – fuxia
    Jul 1, 2017 at 11:49

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.