404 page not loading
Hi:
I have just redesigned one of my sites and also created a custom 404 page. For some reason, the 404 page is defaulting to the web host's 404 page.
I have custom 404 pages on other sites that work fine and when I set this one up, checked the settings on the sites where it does work and all the settings are the same. I think it should work but it is not.
Any help you can offer is much appreciated.
Thank you.
Jim
-
Hi,
Could you please try to create a template for the 404 error page? For this, please go to the Brizy -> templates -> Add new. Here, add a suggestive title and set this display condition:
Template type: Single
Condition: 404 pageAfter this, click on "Add" to add the condition and then to the "Publish" to publish it. See here. Then you have to click on "edit with Brizy" and start to create how do you want to display the 404 error page.
Best regards,
Sandra0 -
Hi Sandra:
Thanks for getting back. This is what I have done and have done this on a number of sites but on this one site it is not working.
Any other ideas to solve this?
Thanks,
Jim
0 -
Hi,
On this site, do you see the 404 error page of the theme or from the hosting? Could you please send us the URL of the site?
Thanks!
Best regards,
Sandra0 -
Sandra:
The 404 is coming from the host. www.jarconsulting.ca
Thank you,
Jim
0 -
Hi Jim,
If the 404 error page is generated from the host, you can try to delete it. See here an interesting article on this topic. I can't ensure you that you will be able to delete the file that holds the 404 pages but you can try to do it. After this, check if the 404 error page is applied to the Brizy template.
Thanks!
Best regards,
Sandra0 -
Hi Sandra:
I have been working with my web host on this issue and thought I would share with you what they are saying. What I am most puzzled by is that I have successful 404 pages with Brizy on other sites hosted by the same people.
1. Thank you for your patience.
I ran a few tests and this is what I found.
Most likely the plugin you are using is unable to properly enforce the page.
As an alternative, I created a small page as shown in this guide: https://www.siteground.com/kb/how_to_add_custom_error_pages/
The file is with the following content:baseos | u187-ujteiibigmwc@us174.siteground.us:~/www/jarconsulting.ca/public_html$ cat not_found.html
SG Not FoundEnforcing through the .htaccess allows for the custom page to be visible when you try to use trigger 404 not found like in this case: https://www.jarconsulting.ca/sgtest
2. WordPress is an open-source software where everybody can create plugins or themes for it. Sometimes these plugins or themes don't work well together as they are created by different people.
I suspect that another plugin is causing the issue but I am unable to confirm which one. The issue is strictly application and not server-related.
That is why I showed you an alternative way to create custom error pages.
We are experienced in dealing with various hosting-related WordPress issues, but sometimes there are issues that require deeper investigation, which includes dedicating time and effort for debugging a problem, and this is usually best done by a professional developer.
I can recommend you to consult with the plugin developer or with a third-party web developer.Thanks Sandra,
Jim
0 -
Hi Jim,
Thank you for all these details and message. I read attentively the entire message and want to ask you, could you please check if you have the latest Brizy Free 2.2.10 and Brizy Pro 2.2.7 version? Also, could you please temporary deactivate all external plugins (except Brizy Free and Brizy Pro) and activate a WordPress default theme? After doing this, do you have the same problem?
It is a safe activity and will not affect your site for the long term.
Therefore, you have to temporarily deactivate all external plugins (except Brizy Free and Brizy Pro) and activate a WordPress default theme (Twenty Nineteen theme). After this, check the 404 error page if all is working fine. If the problem is still appearing, please let us know about this. If after these actions all is working and looking fine, please re-activate the theme you used before, go back to the live site on the 404 error page, make a refresh and check it again. Does the problem appear? If the problem re-appeared then this means that the inconvenience can be caused by the theme and our suggestion will be to use another theme. If the problem doesn't appear and all is working fine, then you can start to activate a plugin and make the same steps till the moment you will activate a plugin and you will identify that after you activate it, the problem reappeared.
Thanks!
Best regards,
Sandra0
Please sign in to leave a comment.
Comments
7 comments