Reputation: 1
My WordPress website was installed in root - example : https://surfends.com/ but now I have my website to a new slug "blog" .
Now it looks like : https://surfends.com/blog
I have to redirect my earlier posts to with new slug :
Example : https://surfends.com/big-submarines/ ==> https://surfends.com/blog/big-submarines/
I tried with : RewriteRule ^big-submarines/$ https://surfends.com/blog/big-submarines/? [R=301,NE,NC,L]
Can anyone help ?Thank you
Upvotes: 0
Views: 580
Reputation: 1136
I would suggest the easiest solution to be using a plugin like 301 Redirects.
https://wordpress.org/plugins/eps-301-redirects/
Upvotes: 1