wordpress插件SEO Title Tag(个性化浏览器title)

本文介绍如何安装及配置SEO标题标签插件,包括上传文件到WordPress插件目录、激活插件、替换主题中的标题标签代码以及在设置中指定首页、错误页和其他页面的标题格式。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

 

    1. (If upgrading from prior version of SEO Title Tag, be sure to deactivate the old version beforehand.)
    2. Upload the seo-title-tag directory and the files within it to your wp-content/plugins directory.
    3. Activate the plugin.
    4. Under Presentation -> Theme Editor in the WordPress admin, select "Header" from the list and replace <title><?php bloginfo('name'); wp_title(); ?></title> (or whatever you have in your <title> container) with<title><?php if (function_exists('seo_title_tag')) { seo_title_tag(); } else { bloginfo('name'); wp_title();} ?></title>(这一步非常重要)
    5. Configure the settings under Options -> SEO Title Tag. You'll want specify a title tag for your home page which will override your blog name as the home page's title tag, specify a title tag for 404 error pages, and enable the UltimateTagWarrior support if using that plugin. You can also configure here whether you want all the rest of your site's title tags to have your blog name, or a shortened version of your blog name, or neither, appended to the end.
    6. For those of you with a static Front Page chosen under Options -> Reading, the "home page" described in the point above is actually the Posts page, and as such, the SEO Title Tag options page will actually will say "Posts Page" instead of "Home Page" - because it detects that you have selected a static Front Page. In such a scenario, in order to also customize the Front Page's title tag, specify a Title Tag on that page's Edit Page form, or within Manage -> Title Tags -> Pages.
    7. Define custom title tags for your existing posts, static pages, category pages and tag pages in the admin under Manage -> Title Tags.
    8. When writing a new post/page, define a title tag by typing something into the "Title Tag (optional)" field. If you're happy to use the post title as the title tag, then you can leave it blank.

参考连接:http://wordpress.org/extend/plugins/seo-title-tag/

 

更多内容欢迎访问围观IT

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值