htaccess redirect/rewrite after changing permalink struture
-
After a relaunch of a pretty good linked website I changed the permalink structure for some good reasons from this:
https://www.***.org/blog/2014/06/04/foo
to this
https://www.***.org/foo
Unsurprisingly all the backlinks in Google, Google plus etc. are now redirecting to the 404 error page.
Is there any chance to write a line into the htaccess file which looks more or less like this?
Redirect 301 /blog/[yyyy]/[mm]{[dd]/foo /foo
Thanks in advance.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘htaccess redirect/rewrite after changing permalink struture’ is closed to new replies.