Hello,
We apologize for the issue you are facing with the Rank Math plugin and the browser tab title showing "Page Not Found" for your shop page. It sounds like you’ve already taken some good steps by deactivating other plugins to troubleshoot the problem.
Since the shop page is generated from a product template in Elementor, there are a few things you can check:
-
Permalink Settings: Go to Settings > Permalinks in your WordPress dashboard and simply click Save Changes. This can sometimes resolve issues with page titles and URLs.
-
Rank Math Settings: Ensure that the Rank Math settings for the shop page are correctly configured. You can check this by editing the shop page in Elementor and looking at the Rank Math MetaBox settings.
-
Elementor Template Settings: Since the shop page uses a product template, ensure that there are no conflicting settings within the Elementor template that might affect how the title is displayed.
-
Theme Compatibility: Sometimes, themes can conflict with plugins. Ensure that your theme is compatible with Rank Math and Elementor. You might want to check for any theme updates as well.
-
Check for Errors: Use the browser’s developer tools (F12) to check for any JavaScript errors or console messages that might give clues about what’s going wrong.
If these steps do not resolve the issue, we recommend replying to your ticket, and a human agent from the Rank Math Support team will be able to provide more specific guidance based on your website’s configuration.
Thank you for raising this concern, and we hope to help you get this resolved soon!
This is still an issue, I have tried to check the settings, but again it is just this one page and the settings look correct and the same as all of the other pages which show correctly.
I have tried a different theme, also the same.
Hello,
In this case, you can use and customize this filter to update the title of your shop page:
add_filter( 'rank_math/frontend/title', function( $title ) {
$url = home_url($_SERVER['REQUEST_URI']);
if(strpos($url, '/shop/') && is_shop()) {
return "Shop page title"; //change the title here
}
return $title;
});
And here’s a guide to adding the code to the website:
https://rankmath.com/kb/wordpress-hooks-actions-filters/
Looking forward to helping you.
Yes that worked perfectly – Thank you.
Hello,
We are glad to know that this issue has been resolved. Thank you for letting us know.
This ticket will be closed now, but you can always open a new one if you have any other questions or concerns. We are here to help you with anything related to Rank Math.
We appreciate your patience and cooperation throughout this process.
Thank you for choosing Rank Math.