Mayeenul Islam
Mayeenul Islam

Reputation: 4762

Continuous 404 even after redirection - what to do for mass

My WordPress blog's permalink was /%postname%/, but for some reasons I changed the permalink to /%postid%/%postname%/, and found there was much problem in many other cases, so reverted the permalink to /%postname%/, but within this time, google did what it was made for. And now I'm getting continuous 404 in many ways...

Common are:

So I installed Redirection plugin and using it for many days. I've made redirection for these two cause, but somehow it's not actually working. A new type of 404 is generating like

I'm tired redirecting them everyday one-by-one from the above to:

What can I do now?
How can I let google crawler understand that I'm not in that instance, I'm back to my previous option?

Upvotes: 1

Views: 109

Answers (1)

anubhava
anubhava

Reputation: 785481

Place this rule as your first rule after RewriteBase:

RewriteRule ^[0-9]+/([^/]+/[^/]+/?)$ /$1 [L,R=301,NE]

Upvotes: 1

Related Questions