We Bring Your Business Online & Boost Visibility On Search Engines.

Creating A 404 Elementor Page For Free

Share This Post

  1. Create a New Page:
    • Go to your WordPress dashboard and navigate to Pages > Add New.
    • Give your page a title like “404 Page Not Found” and design it using the Elementor Free plugin.
  2. Note the Page Slug:
    • After publishing your page, note down the page slug. For example, it might be something like /page-not-found.
  3. Edit the 404.php File:
    • In your WordPress dashboard, go to Appearance > Theme Editor.
    • Locate and click on 404.php in the list of theme files on the right-hand side.
  4. Add Redirect Code:
    • Inside the 404.php file, you’ll see some PHP code. Look for the closing curly brace } at the end of the file.
    • Directly above this closing brace, add the following PHP code:
      php
      <?php header("Location: /page-not-found"); exit; ?>
    • Replace /page-not-found with the actual slug you noted in step 2.
  5. Update the File:
    • Click on the Update File button to save your changes.
  6. Testing:
    • Now, whenever a visitor encounters a 404 error on your website, they will be redirected to the custom 404 page you created with Elementor Free.
Note:
      • This method involves editing theme files directly, which can be overwritten when you update your theme. You’ll need to reapply this change after each theme update.
      • Ensure that the slug (/page-not-found in this example) matches exactly with the slug of the page you created in step 1.
By following these steps, you can effectively create a custom 404 page using Elementor Free, providing a better user experience for visitors who encounter missing or broken links on your website.

More To Explore