Yoast SEO

适用于 WordPress 的 Yoast SEO。「Yoast SEO for WordPress」

Github星跟踪图

Yoast SEO

Build Status
Stable Version
License

Welcome to the Yoast SEO GitHub repository

While the documentation for the Yoast SEO plugin can be found on Yoast.com, here
you can browse the source of the project, find and discuss open issues and even
contribute yourself.

Installation

Here's a guide on how to install Yoast SEO in your WordPress site.

Want to contribute to Yoast SEO?

Prerequisites

At Yoast, we make use a specific toolset to develop our code. Please ensure you have the following tools installed before contributing.

Getting started

After installing the aforementioned tools, you can use the steps below to acquire a development version of Yoast SEO.
Please note that this will download the latest development version of Yoast SEO. While this version is usually stable,
it is not recommended for use in a production environment.

Within your WordPress installation, navigate to wp-content/plugins and run the following commands:

git clone https://github.com/Yoast/wordpress-seo.git
cd wordpress-seo

To install all the necessary dependencies, run the following commands:

composer install
yarn
grunt build

During development, you could run grunt build:dev instead of grunt build, to save yourself downloading some dependencies that are only needed for a production environment.

Please note that if you change anything in the JavaScript or CSS, you'll have to run grunt build:js or grunt build:css, respectively.

For active development, you could run grunt watch to keep the build up-to-date and run checks right away.

For JavaScript only, a webpack development server is available. To enable the dev-server, you'll have to add this to your WordPress install's config.php:

define( 'YOAST_SEO_DEV_SERVER', true );

and you can start it by running yarn start in the wordpress-seo folder.

Another JavaScript alternative is grunt webpack:watch, this command will keep the JS files up-to-date. You'll have to refresh the page yourself since this does not run a development server.

This repository uses the Yoast grunt tasks plugin.

Support

This is a developer's portal for Yoast SEO and should not be used for support. Please visit the
support forums.

Reporting bugs

If you find an issue, let us know here! Please follow these guidelines on how to write a good bug report.

It may help us a lot if you can provide a backtrace of the error encountered. You can use code in this gist to enable the backtrace in your website's configuration.

Contributions

Anyone is welcome to contribute to Yoast SEO. Please
read the guidelines for contributing to this
repository.

There are various ways you can contribute:

主要指标

概览
名称与所有者Yoast/wordpress-seo
主编程语言JavaScript
编程语言JavaScript (语言数: 8)
平台Linux, Mac, Windows
许可证Other
所有者活动
创建于2012-11-16 15:16:29
推送于2025-05-20 14:57:58
最后一次提交
发布数1218
最新版本名称25.2-RC1 (发布于 2025-05-13 09:34:38)
第一版名称1.4.15 (发布于 2013-08-22 14:51:57)
用户参与
星数1.8k
关注者数145
派生数0.9k
提交数71.8k
已启用问题?
问题数12486
打开的问题数949
拉请求数8121
打开的拉请求数133
关闭的拉请求数1092
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?