Nginx rewrite rule for wordpress to remove date and html from the permalink
-
Looking for a Nginx rewrite rule to remove date and html from the permalink.
I have few old posts with the following link structure (blogger – migrated recently) https://www.some1wbdom2name.com/2013/08/title.html.
Currently i am using the wordpress permalink as https://www.some1wbdom2name.com/title.
I wish to add a 301 redirect from the old url to the new permalink to retain the traffic.
Please advice me how i can achieve this in the nginx.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Nginx rewrite rule for wordpress to remove date and html from the permalink’ is closed to new replies.