How to Redirect 404 into a new Link

I am still learning here in Digital Ocean. I am using Wordpress in my website. My website categories has been changed into a new url / slug and now the old ones are all 404 Error. All the 404 are already indexed in Google and I want those 404’s to be redirected to the correct and updated URLs but I dunno how to edit those. Can someone please help me what to do or what command should i use to edit it? thanks in advance


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

There isn’t a super-easy way to redirect users when you change your Permalink structure but this guide will walk you through a method to create 301 redirects in WordPress. It will require some manual work to make sure your URLs redirect but should solve the problem.