HOW TO CREATE CREATE CUSTOM 404 PAGE WITH CUSTOM PAGE
CREATING CUSTOM 404 PAGE WITH CUSTOM PAGE
You can simply redirect all 404's to a custom page by editing the 404 page template inside your active theme directory. In your theme directory, you will see a 404.php file. Add the following code at the top of that file and save:
Code:
<?php
header("HTTP/1.1 301 Moved Permanently");
header("Location: https://www.9jarom.com/page-just-updated");
exit();
?>
Replace "https://www.9jarom.com/page-just-updated" with your desired custom page URL.
Please let us know if you have any confusion. We will be glad to help.
Have a nice day. Cheers!