Wordpress - Permanent Redirect for custom post type
November 05, 2020 01:07PM
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!
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 122
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready