PHPackages                             piotrpress/wordpress-link-checker - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. piotrpress/wordpress-link-checker

ActiveProject[CLI &amp; Console](/categories/cli)

piotrpress/wordpress-link-checker
=================================

WordPress Link Checker is a command line tool that checks for broken links on a WordPress website.

v1.1.1(5mo ago)11MITPHP

Since Mar 6Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/PiotrPress/wordpress-link-checker)[ Packagist](https://packagist.org/packages/piotrpress/wordpress-link-checker)[ Docs](https://github.com/PiotrPress/wordpress-link-checker)[ RSS](/packages/piotrpress-wordpress-link-checker/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (4)Used By (0)

WordPress Link Checker
======================

[](#wordpress-link-checker)

WordPress Link Checker is a command line tool that checks for broken links on a WordPress website.

Example
-------

[](#example)

```
$ php wp-check https://example.com --user-agent=WordPressLinkChecker/1.1.1 --exclude-type=post --exclude-post=https://example.com/sample-page
```

Setup
-----

[](#setup)

```
$ docker compose up -d
$ docker compose exec php bash -c "composer install"
$ docker compose down
```

Usage
-----

[](#usage)

```
$ docker compose up -d
$ docker compose exec php bash -c "php wp-check  [--user-agent=] [--exclude-type=] ... [--exclude-post=] ..."
$ docker compose down
```

Parameters
----------

[](#parameters)

The `` argument is the URL of the WordPress website to check for broken links.

**NOTE:** URL can include the authentication credentials in the form: `https://user:password@example.com`.

- `--user-agent` - option is used to set a custom user agent for the requests.
- `--exclude-type` - option is used to exclude post types by slug from the check.
- `--exclude-post` - option is used to exclude posts by URL from the check.

Changelog
---------

[](#changelog)

Version 1.1.1

- Few minor improvements.

Version 1.1.0

- Added `--user-agent` parameter to set a custom user agent for requests.
- Added support for WordPress Multisite installations in subdirectory mode.

Version 1.0.0

- Initial release.

Requirements
------------

[](#requirements)

- [Docker](https://www.docker.com/)
- [Docker Compose](https://docs.docker.com/compose/)

License
-------

[](#license)

[MIT](license.txt)

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance70

Regular maintenance activity

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~131 days

Total

3

Last Release

176d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10326736?v=4)[Piotr Niewiadomski](/maintainers/PiotrPress)[@PiotrPress](https://github.com/PiotrPress)

---

Top Contributors

[![PiotrPress](https://avatars.githubusercontent.com/u/10326736?v=4)](https://github.com/PiotrPress "PiotrPress (3 commits)")

---

Tags

wordpresswp404link-checkerbroken-linksblind-links

### Embed Badge

![Health badge](/badges/piotrpress-wordpress-link-checker/health.svg)

```
[![Health](https://phpackages.com/badges/piotrpress-wordpress-link-checker/health.svg)](https://phpackages.com/packages/piotrpress-wordpress-link-checker)
```

###  Alternatives

[pantheon-systems/terminus

A command line interface for Pantheon

3391.5M13](/packages/pantheon-systems-terminus)[statamic/cli

Statamic CLI Tool

7587.7k](/packages/statamic-cli)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
