How can I switch the title name in Woocommerce parents pages category only name? The other pages are correct only the category parent pages.
What I mean this URL: https://organicskincare.com/product-category/anniemarie-borlind/
The title is: Organic Skin Care | AnneMarie Borlind Skin Care
The title should be: AnneMarie Borlind Skin Care | Organic Skin Care
I would like the Title to be switch as it should be just like in the product single page.
Page name first and then site name.
It is not a good SEO
It tried almost everything nothing worked.
Thank for any help.
Title in WooCommerce Category Parents Pages Are Reversed6 posts from 3 voices
I believe using something like Yoast SEO would be the most straightforward way to customize the titles for the page. That way you have absolute control over what will be used and get the best SEO.
I do have Yoast SEO and it still I can NOT get the product parent page only to be reversed.
I can send you user and password for you to check.
Thank you Devin
In that case, you can manually switch around the order in which the title is generated by opening up your header.php file and looking for:
<title><?php bloginfo('name'); ?> | <?php is_home() ? bloginfo('description') : wp_title(''); ?></title>
Replace it with:
<title><?php is_home() ? bloginfo('description') : wp_title(''); ?> | <?php bloginfo('name'); ?> </title>
That is exactly how I wanted.
Again thank you so much Devin.
Glad that Devin helped you. :)
This topic has been closed to new replies.