You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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, you start a Webpack watch by running yarn start, this command will keep the JS files up-to-date. You’ll have to refresh the page yourself.
When working in other folders than packages/js, you can refer to their individual readme or package.json scripts. If the package offers a watch, you still have to build the plugin afterwards.
For example, the packages/ui-library package has its own yarn watch (and js/css) commands. You can either cd into that folder or target it from the root using the workspace command:
yarn workspace @yoast/ui-library watch:js
or using Lerna:
yarn lerna run watch:js --scope @yoast/ui-library --stream
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.