Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #388917

    rishijd
    Participant

    Hi,

    I want to style and change the content of my 404 page. I seem to have the following options:

    1) http://theme.co/x/demo/extensions/custom-404/ – use this extension. However, when using this, my site is doing a 301 redirect to a “page-not-found” page and it is not a 404 HTTP status code. This is not acceptable in its current state as I need to ensure any 404 page returns a 404 status and does not do a 301 redirect. Is there a configuration to get this corrected?

    2) Change 404.php. I can put any HTML I want here, and it works, but I need to load my standard header and footer from WordPress. X theme uses its own functions so I’m not sure how to load the header/footer automatically or what functions to use. Any advice on how to set up my template file so I can use the correct header/footer functions in 404.php?

    Thanks,
    Rishi

    #388988

    Paul R
    Moderator

    Hi Rishi,

    1. This is intentional and is how the extension currently works. I will forward your concern to our web development team for review.

    2. Regretfully, this particular customization request is outside the scope of our support as this is not related to an issue with the theme and instead has to do with your customization of it. As such, you will need to investigate this particular issue on your own or seek help from a developer should you not feel comfortable making these changes yourself. If you have any further questions about the theme, we are more than happy to provide you with assistance on these inquiries.

    Thank you for your understanding.

    #389001

    rishijd
    Participant

    Thank you, that’s fine and I understand. For point 1, please let me know if your development team change their specification around this.

    Thanks,
    Rishi

    #389024

    Darshana
    Moderator

    Hi Rishi,

    Unfortunately, there is no quick fix available yet. The issue is conflict of existing page selected as 404 page. It uses redirect to existing page and that’s why it loses 404 status.

    Our developers have been informed about this situation and hopefully this issue will be addressed soon.

    Thanks!