I have changed the slug for a custom post type from nightlife to socialize so all of my custom posts have moved, for example from:
https://www.domain.com/nightlife/my-same-custom-title1/
to
https://www.domain.com/socialize/my-same-custom-title1/
However, wordpress does not redirect the old custom slug to the new custom slug. How could I write an NGINX to do this?
many thanks!
https://www.domain.com/nightlife/my-same-custom-title1/
to
https://www.domain.com/socialize/my-same-custom-title1/
However, wordpress does not redirect the old custom slug to the new custom slug. How could I write an NGINX to do this?
many thanks!