DEV Community

Discussion on: A Learning Path for Newbies in WordPress Development

ihtishamzahoor profile image
Ihtisham Zahoor Author

What you are looking for is already available (the second option under settings) in the WordPress plugin, which I mentioned in my previous comment.

All you have to do is to provide the redirect Filename in the Redirect URL option (image attached). You can use the standard 404 PHP file or create a custom PHP file and then provide its name (without PHP extension) in the Plugin settings.

thepracticaldev.s3.amazonaws.com/i...

I am sure, you have already figured that out by now : )