[英]Change WooCommerce product category title?
For SEO purposes I'm trying to change the title (as in: content between <title></title>
tags) of the product category page of my website. 出于SEO的目的,我试图更改我网站的产品类别页面的标题(如: <title></title>
标签之间的内容)。
For example, the product category "Chairs" is now having the title: 例如,产品类别“椅子”现在具有标题:
"Wooden tables - Myshopname" “木桌-Myshopname”
I'd like to change this to something else, such as: 我想将其更改为其他内容,例如:
"Wooden tables - shop online - Myshopname" “木桌-在线购物-Myshopname”
I'm using the Yoast SEO plugin. 我正在使用Yoast SEO插件。 Can anyone point my towards the right direction? 谁能指出我的正确方向?
Here is a solution of your query for Yoast SEO plugin:- 这是您查询Yoast SEO插件的解决方案:-
Go to the wordpress >> Yoast SEO >> Titles & meta's >> taxonomies and change title template name for Product Categories: 转到wordpress >> Yoast SEO >>标题和元的>>分类法,并更改产品类别的标题模板名称:
Title template: %%term_title%% %%sep%% shop online %%sep%% %%sitename%%
Here's my selected separator is "-". 这是我选择的分隔符为“-”。
Figured out! 想通了!
WordPress > Yoast SEO > Titles & meta's > taxonomies WordPress> Yoast SEO>标题和元数据>分类
and change "Yoast SEO-metabox" to show under "Product categories". 并将“ Yoast SEO-metabox”更改为显示在“产品类别”下。
That'll reveal the Yoast options under the Product Category edit page, allowing you to set titles per category. 这将在“产品类别”编辑页面下显示Yoast选项,使您可以为每个类别设置标题。
the best way to give a different title for different categories 为不同类别赋予不同标题的最佳方法
Login to admin panel -> open your site -> category page -> Edit category Scroll down. 登录到管理面板->打开您的网站->类别页面->编辑类别向下滚动。 In the SEO section add the title for the categories. 在SEO部分中,添加类别的标题。 do this for all the categories 对所有类别都执行此操作
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.