The Wayback Machine - https://web.archive.org/web/20200522005527/https://github.com/Yoast/wordpress-seo
Skip to content
PHP JavaScript Other
Branch: trunk
Clone or download

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Remove reference to out-of-date design wiki Mar 17, 2020
admin Merge branch 'release/14.2' of github.com:Yoast/wordpress-seo into trunk May 20, 2020
cli Rename "upsell" command namespace Jun 5, 2018
config QA: remove unused `use` statements May 20, 2020
css Improve icon size and position. Apr 22, 2020
deploy_keys add deploy key for dist repo Aug 15, 2018
deprecated CS: remove redundant "end" comments May 18, 2020
frontend Sets the deprecated version to 14.0 Mar 31, 2020
grunt Merge branch 'hotfix/14.0.3' into release/14.1 Apr 30, 2020
images Change fill colour, width and height of svg icons Mar 24, 2020
inc Merge branch 'release/14.2' of github.com:Yoast/wordpress-seo into trunk May 20, 2020
integration-tests Merge branch 'master' into release/14.1 Apr 30, 2020
js Don't show warning when the indexation has been stopped manually May 12, 2020
lib Merge branch 'release/14.1' of https://github.com/Yoast/wordpress-seo … May 7, 2020
scripts Add missing release branch check to deploy_to_dist Apr 1, 2020
src Merge branch 'release/14.2' of github.com:Yoast/wordpress-seo into trunk May 20, 2020
svn-assets Updated screenshot of General > Features page. Apr 23, 2020
tests Merge branch 'release/14.2' of github.com:Yoast/wordpress-seo into trunk May 20, 2020
vendor_prefixed Ignore prefixed files Jan 12, 2018
webpack Merge branch 'release/14.0' into trunk Apr 17, 2020
.babelrc Use browserlist instead of babel targets directly Dec 16, 2019
.codeclimate.yml Disable IE related codeclimate rules Apr 1, 2020
.editorconfig Identify the input field that has an error. Jul 18, 2019
.env.example Automate RC creation with Grunt (Hackaton) (#14182) Jan 16, 2020
.eslintignore Add codeclimate config for new engine Aug 7, 2016
.eslintrc Adjust ESLint rules and fix all the errors. Sep 28, 2018
.gitattributes PHPCS Tweaks Oct 7, 2019
.gitignore Fix tests and improve route Apr 17, 2020
.removeable-files Add tests to removeable files Jul 4, 2016
.travis.yml Use WP 5.3 in the travis matrix because we no longer support 5.2 Apr 7, 2020
Gruntfile.js Cleanup sass tasks Apr 1, 2020
README.md Inform users of dev-server in Readme Apr 24, 2020
composer.json Move to src/config/migrations Apr 30, 2020
composer.lock Composer: update PHPCompatibility May 19, 2020
index.php Cleaned up most leftover inline comment style issues Jun 5, 2015
license.txt Update license.txt Mar 15, 2018
package.json Updated version number to 14.2-RC2. May 20, 2020
phpcs.xml.dist Temporary exclude for the lib dir Apr 29, 2020
phpdoc.xml some more name replacements Jul 14, 2015
phpmd.xml Fix property setting Mar 30, 2018
phpunit-integration.xml.dist Implement new test suite with brain/monkey. Apr 30, 2019
phpunit.xml.dist Implement new test suite with brain/monkey. Apr 30, 2019
readme.txt Updated changelog for 14.2-RC2. May 20, 2020
renovate.json Add our own configuration Dec 8, 2017
ruckusing.conf.php Merge branch 'hotfix/14.0.3' into release/14.1 Apr 30, 2020
wp-seo-main.php Updated version number to 14.2-RC2. May 20, 2020
wp-seo.php Updated version number to 14.2-RC2. May 20, 2020
wpml-config.xml Remove Google+ and replace it with other stuff Feb 20, 2019
yarn.lock Bump monorepo versions May 19, 2020
yoast_meta.md Remove idiorm everywhere Apr 29, 2020

README.md

Yoast SEO

Build Status Stable Version License Maintainability

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

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.

Alternatively, 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.

This repository uses the Yoast grunt tasks plugin.

Developing JavaScript dependencies

Yoast SEO uses some JavaScript code that is managed outside of this repository. This code is being maintained in a monorepo: Yoast/javascript. If you need to change anything in one or more of the packages included in the monorepo, you'll need to do the following:

git clone https://github.com/Yoast/javascript.git # Only the first time.
yarn link-monorepo # You will be prompted for the location of your Yoast/javascript clone. This will is "./javascript" if you cloned it inside the wordpress-seo directory. Your preference will be saved in a .yoast file for later use.
grunt build 

This links all Yoast managed JavaScript packages to your installation of the plugin. Most branches on the wordpress-seo repository also exist on the javascript repository. Please find which branch to use in the table below. If the branch you're looking for does not exist, feel free to default to develop (or create the branch yourself if you're making changes).

Yoast/wordpress-seo Yoast/javascript
master master
trunk develop
feature/x feature/x

You can now modify the code of the linked packages directly from the node_modules (as they're now symlinked to your javascript clone) or your javascript directory. Please remember to run a grunt build:js from the wordpress-seo directory after making changes in order to apply those changes to the plugin.

If you don't want to use the latest development version of the Yoast JavaScript packages anymore, you can restore the versions as specified in the package.json by running the following command:

yarn unlink-monorepo
grunt build

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:

You can’t perform that action at this time.