[Resolved] How to Redirect 404 error to custom page

Home Forums Support [Resolved] How to Redirect 404 error to custom page

Home Forums Support How to Redirect 404 error to custom page

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1541999
    Chitika

    I have already created a 404 custom page.
    But I don’t know where to re-direct the 404 error to this custom page.

    #1542136
    David
    Staff
    Customer Support

    Hi there,

    try this method instead of creating a 404 page.

    1. Create a new Block Element, use this to create your new 404 content.
    2. Set the Block Type to Hook ( this is default ).
    3. For the Hook select: Custom Hook and enter in the field provided: generate_do_template_part
    4. Set the Location to 404 Template

    #1542149
    Chitika

    Great @David. The instructions were crystal clear.

    #1542174
    David
    Staff
    Customer Support

    Happy to be of help!

    #1948520
    Randy

    Hi David,

    I used the above code to make the custom 404 page and it seems to work well.

    Only thing additionally I’d like to do is to disable the right sidebar on the 404 page as well. How would I go about doing that?

    Thanks!

    #1948537
    Leo
    Staff
    Customer Support

    Can you open a new topic for a separate question?

    It’s a good question that should be helpful for other users as well.

    Thanks!

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.