A broken link is a link that points to a non-existing page or media

Undraw My Documents

About

A broken link is a internal link that points to:

They hurt your SEO and should be avoided at all cost.

You can monitor them and you can even list them

List

Cli

You can use the cli command called broken-link to list them

Example * on the server

./bin/plugin.php combo broken-links

* in dokuwiki docker with the combostrap site.

docker exec -it site-com-combostrap php ./bin/plugin.php combo broken-links

Sql

You can query the database against the page statistics data with the below Analytics SQL to list the page with broken links and their count along with the path of the page

with validPages as (select path, analytics
                     from pages
                     where json_valid(analytics) = 1)
select path,
       json_extract(analytics, '$.statistics.internal_broken_link_count') as broken_link,
       json_extract(analytics, '$.statistics.media.internal_broken_count') as broken_media
from validPages
where json_extract(analytics, '$.statistics.internal_broken_link_count') is not null
   or json_extract(analytics, '$.statistics.media.internal_broken_count') != 0




Showcase yourself and your brand

Get free news, tips, and tricks
to create a remarkable experience for your readers.




Recommended Pages
Undraw My Documents
ComboStrap Analytics - Page Statistics

The statistics feature allows you to query your page statistics such as word count, internal, backlinks and get insight on your whole website at once.
Undraw My Documents
How to use the cli to perform administrative tasks

The cli is a command line client that permits to perform the following administrative tasks: replicate the file content to the database replicate the metadata to the frontmatter delete non-existing...
Move Plugin Rename
Page Move

ComboStrap supports the move of a page via the plugin:movemove third party plugin For each page move, we: rename the page link rename the image link and page image take into account the backlink...
Admin Railbar
Search Index Manager

The plugin:searchindexsearch index manager is a supported plugin that will recreate the If you change a lot of page or after a release, the search index manager should be run to update/rebuild the index....



Task Runner