• Stars
    star
    1,734
  • Rank 26,869 (Top 0.6 %)
  • Language
    JavaScript
  • License
    Other
  • Created about 12 years ago
  • Updated 5 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Yoast SEO for WordPress

Yoast SEO

CS Lint LintJS TestJS Test Deployment Coverage 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.

Testing packages

To run tests for js packages, run the following command from packages/js folder:

yarn test

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:

More Repositories

1

YoastSEO.js

Analyze content on a page and give SEO feedback as well as render a snippet preview.
JavaScript
403
star
2

PHPUnit-Polyfills

Set of polyfills for changed PHPUnit functionality to allow for creating PHPUnit cross-version compatible tests
PHP
172
star
3

javascript

Monorepo for all the JavaScript within Yoast
JavaScript
131
star
4

wpseo-woocommerce

This extension to WooCommerce and Yoast SEO makes sure there's perfect communication between the two plugins.
PHP
100
star
5

whip

A WordPress package to nudge users to upgrade their software versions (starting with PHP)
PHP
70
star
6

Yoast-SEO-for-Magento2

Yoast SEO for Magento 2
PHP
70
star
7

wp-cli-faker

Generate fake data using WP CLI
PHP
66
star
8

yoast-acf-analysis

WordPress plugin that adds the content of all ACF fields to the Yoast SEO score analysis.
PHP
62
star
9

wp-test-utils

PHPUnit and WordPress cross-version compatibility layer for testing plugins and themes build for WordPress
PHP
53
star
10

Yoast-SEO-for-TYPO3

Yoast SEO plugin for TYPO3
PHP
51
star
11

duplicate-post

Yoast Duplicate Post plugin for WordPress
PHP
46
star
12

plugin-development-docker

A docker configuration for WordPress plugin development
Shell
42
star
13

helpscout-edd

HelpScout - Easy Digital Downloads integration
PHP
39
star
14

wpseo-news

News XML Sitemap module for the WordPress SEO plugin
PHP
31
star
15

Yoast-SEO-for-Neos

Yoast SEO integration for Neos CMS
JavaScript
23
star
16

i18n-module

Handle i18n for plugins
PHP
22
star
17

yoastcs

Yoast coding standards
PHP
21
star
18

yoast-components

Accessible React components by Yoast
JavaScript
21
star
19

yoast-test-helper

Plugin to make testing Yoast SEO a bit easier
PHP
13
star
20

developer-docs

All the feature and developer documentation that is hosted on developer.yoast.com.
11
star
21

update-updater

Review the existing state of the WordPress.org updaters and propose ways to improve them
10
star
22

glotpress-theme

The GlotPress "theme-plugin" in use on translate.yoast.com
PHP
9
star
23

yoast-debug

Internal Yoast Debug plugin
PHP
8
star
24

WP-JS-API-implementation-examples

JavaScript
7
star
25

developer

The Yoast Developer portal based on Docusaurus
JavaScript
6
star
26

helpscout-docs-api

PHP
6
star
27

glotpress-seo

Small SEO plugin to enable better titles and meta descriptions on your GlotPress install
PHP
6
star
28

wordpress-develop-mirror

WordPress development sync to develop patches against.
PHP
5
star
29

tailwind-block-theme-experiment

HTML
5
star
30

api-libs

PHP
4
star
31

yoast-tailwind-columns-block

A Tailwind columns block for block-based themes
JavaScript
3
star
32

crawl-cleanup

Clean up WordPress' output, feeds and miscellanea to improve crawl efficiency
PHP
3
star
33

a11y-speak

Announce dynamic interface updates to screen readers using ARIA live regions.
JavaScript
3
star
34

sociable

PHP
3
star
35

passport-openid-connect-wordpress

A Passport strategy to connect to a WordPress installation running as an OAuth server
JavaScript
3
star
36

code-documentation-extractor

PHP
2
star
37

visitor-to-currency

Determines the most likely currency a visitor will be wanting to pay in
PHP
2
star
38

wp-l10n-feature

Feature Plugin: Refactoring the way localizations work in WordPress
PHP
2
star
39

yoast-seo-granular-control

This plugin gives you granular control over some of the settings of Yoast SEO. If you want to keep using it, but disagree with how it handles things like canonicalization and pagination, this plugin is for you.
PHP
2
star
40

ui-library-storybook

HTML
1
star
41

singer-tap-shopify-shops

Scrape of publicly available Shopify shop information
Python
1
star
42

singer-tap-exchange-rate-rss

Python
1
star
43

webfonts-api

Plugin version of the webfonts API (https://github.com/WordPress/wordpress-develop/pull/1736) to make testing easier
PHP
1
star
44

singer-tap-open-exchange-rate

Python
1
star
45

yoast-cli

A Yoast development tool
PHP
1
star
46

singer-tap-builtwith

Python
1
star
47

singer-tap-paypal

A singer tap for PayPal
Python
1
star
48

singer-tap-wordpress-plugin-stats

Python
1
star
49

singer-tap-shopify-partners

Python
1
star
50

extensibleReact

An API (PoC) for making React components extensible.
JavaScript
1
star
51

advent-of-code

This repository provides Yoasters a means to share their solutions to the annual advent-of-code puzzles found on https://www.adventofcode.com/
C#
1
star
52

archive

Yoast repository archive
SCSS
1
star
53

cloudflare-tag-purge

PHP
1
star