‘Page not found’ appears in page title – but page still displays fully
-
Hi! Not 100% sure that this is shop/Woo Commerce related, but since it’s a shop-based site I figured this might be a good place to start.
I’ve encountered a small issue on this website we’ve built: https://www.bodyalphabet.xyz/
The page title in the browser tab/header displays as ‘Body Alphabet – Page Not Found’, but the page loads perfectly fine. Is there a way to remove this message? I tried editing the permalink for the page but I can’t edit the main URL.
I have a suspicion that this might be caused by the SSL certificate that we added to the site, and may an issue of https vs http in the link names, but I can’t see how to resolve this.
Any help appreciated!
-
Dear @daly
Great Shop ✨
Firstly if a quick solution is needed, I would suggest refining this jQuery:
jQuery("title").html("Hello World");
Have you made sure of the 'Site Title' setting's in both Customize and Wordpress' General Settings?.
Note: you should only be changing site-titles via Customize.
Also could you please make sure of these steps:
Wordpress, Lay Theme, Lay Theme's Addons and Woocommerce are up to date?
Any Third-Party plugins are Temporarily deactivated.
Any Custom Code is temporarily removed.
Now please test your website again to see if the issue lies with a standard Lay Theme / WooCommerce setup.
Talk soon @daly & have a wonderful day! 🌝
Richard
-
Thanks @Richard for your quick reply!
Great Shop ✨
Thank you! :)
*Firstly if a quick solution is needed, I would suggest refining this jQuery:
jQuery("title").html("Hello World");**
My coding knowledge is limited – where in Laytheme would I edit this?
*Have you made sure of the 'Site Title' setting's in both Customize and Wordpress' General Settings?.
Note: you should only be changing site-titles via Customize.*
I checked the Site Title in Customize (it's set to 'hide' as I don't need it to display on the page itself), but it is entered as Body Alphabet. In Wordpress' General settings it's also just Body Alphabet. I noticed in these settings that I hadn't changed the site URL to https://, so this has now been updated but doesn't fix anything.
Also could you please make sure of these steps:
Everything was already up to date :)
I can only see the 'Page Not Found' text on Safari for iOS, and if I open the page through Instagram (which I believe uses Safari anyway), but still kind of strange. I've attached an image for confirmation:
![alt text](image url)
-
@Richard I was trying out a few things to fix it, so I can’t say for sure, but I did have a duplicate version of the page layout in the Pages section (actually the first version of the homepage, before I moved everything to the Woocommerce Shop page); once I deleted this page, the Page Not Found text disappeared from the title. I’m not sure why, as I don’t believe anything was pointing to the duplicate version of the page, but that’s the most concrete explanation I can give!
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it