Welcome! Log In Create A New Profile

Advanced

Wordpress - Permanent Redirect for custom post type

Posted by neodjandre 
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: 70
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready