Guide

Use PageKiwi for Drupal 10 and 11

PageKiwi for Drupal is a free module that lives under Reports in your Drupal admin, not on your public site.

In short: PageKiwi for Drupal is like a checklist kept in the back office. Visitors to your site see nothing different; you find it in your Drupal admin under Reports, then PageKiwi.

It works the same on Drupal 10 and 11; only where you find the menu differs.

1. Put the module on your site

Download the module (beta) from its drupal.org page, then put its pagekiwi folder into your site's modules/custom folder. How depends on who looks after your site:

  • A web person or agency looks after it

    Send them the zip and this page. Most Drupal sites are updated through Git and Composer, so they'll add it the way they add everything else.

  • You can upload files

    Unzip it on your computer, then upload the pagekiwi folder with your host's File Manager or a file-transfer (SFTP) app into modules/custom (on most Drupal 10 and 11 sites that's web/modules/custom; make the custom folder if it isn't there).

2. Turn it on

  1. Log in to Drupal as an administrator and go to Extend.
  2. Type PageKiwi in the Filter by name or description box, check its box (it's under Administration), and press Install.
Drupal 11's Extend page filtered to PageKiwi, with its box checked and the Install button below; the new navigation sidebar is on the left
Extend on Drupal 11. Drupal 10's page is the same, with the menu along the top instead.

Your web person can do the same with Drush: drush en pagekiwi.

3. Check your site

Go to Reports, then PageKiwi, and press Check my site. The page's heading is PageKiwi (beta). It reads your settings, images and published content, up to the 500 most recently changed pages, and usually takes a few seconds. After the first check, the button says Check again. Where Reports is depends on your version:

  • Drupal 10

    In the admin toolbar along the top: Manage, then Reports.

  • Drupal 11

    In the navigation sidebar on the left: Reports. (If your site doesn't use the new Navigation module, you'll see the top toolbar instead, as on Drupal 10.)

Drupal 10's Reports page with PageKiwi listed, and the admin toolbar along the top
Reports on Drupal 10.
Drupal 11's Reports page with PageKiwi listed, and the navigation sidebar on the left
Reports on Drupal 11.

4. Check one page

While you're logged in and looking at a content page of your site, there's a Check this page link with the page's own tabs. It checks just that page, published or not, with the media it shows, and has links Back to the page, Edit it and Check the whole site. You see it if you can edit the page and have the PageKiwi permission.

  • Drupal 10

    A tab next to View, Edit and Delete.

  • Drupal 11

    In the ⋮ menu at the top right, next to Edit (with the new Navigation module), or as a tab like Drupal 10.

A page on Drupal 10 with tabs View, Edit, Delete, Revisions and Check this page
Drupal 10: a tab on the page.
Drupal 11's top bar with the ⋮ menu open, listing Delete, Revisions and Check this page
Drupal 11: in the ⋮ menu.

5. Fix what it finds

Problems are grouped into settings, images, links, headings and structure, and facts (pages that give different phone numbers or emails), worst first. Each is marked Fix first or When you can, says what's wrong, where it is and how to fix it, and has a Go there link to the right edit screen. For a heavy photo, Open the tool opens our free Shrink a photo in a new tab.

PageKiwi's results on Drupal 10: problems grouped by settings and images, each with where it is, how to fix it and a Go there link
PageKiwi's results on our Drupal 10 test site, which has mistakes on purpose.

Some fixes are in Drupal's own settings, and PageKiwi links straight to each:

  • Turning off maintenance mode: Configuration, Development, Maintenance mode.
  • Hiding error messages from visitors: Configuration, Development, Logging and errors, then None under Error messages to display.
  • Getting cron (Drupal's scheduled tasks) to run: Configuration, System, Cron, then Run cron.
  • Closing open sign-ups: Configuration, People, Account settings.

When you've fixed some, press Check again. Every problem, explained.

6. Questions

Which versions?
Drupal 10.3 and 11. We test it on both. It's in beta, on drupal.org at drupal.org/project/pagekiwi (with Composer: composer require 'drupal/pagekiwi:^1.0@beta') and as a zip from us.
Can my visitors see it?
No. It's only in the admin area, for people with the "Use PageKiwi" permission (administrators have it). Give it to other roles at People, Permissions.
Does it send my site anywhere?
Nothing goes to PageKiwi. Links to your own pages are checked against Drupal's own list of pages, with no requests. For links to other websites, your server asks up to 15 of them whether they still answer, and it looks up the domains in email links to see whether they can get email.
What doesn't it check?
It reads your pages' own text and image fields, and your media. It doesn't yet read custom blocks, paragraphs, Layout Builder blocks, taxonomy term descriptions or menus.
How do I remove it?
Extend, the Uninstall tab, check PageKiwi, press Uninstall, then Uninstall again to confirm. That removes its saved results. Then delete its folder.

The short version

Put the pagekiwi folder in modules/custom, turn it on at Extend, then go to Reports, PageKiwi and press Check my site. Fix the problems worst first and press Check again. It runs only in the admin, and visitors see nothing. If you do not manage the site, send your web person the message below.

Send this to your web person

Not sure what to say? Copy this into an email, add your website's address, and send it.

Hi,

Could you add PageKiwi for Drupal to our site, [your website address]? It's a free module that checks for broken links, missing alt text and risky settings. It lives under Reports in the admin, so visitors see nothing.

The zip and the steps are here: https://pagekiwi.com/guides/pagekiwi-for-drupal/

It goes in modules/custom, then gets turned on under Extend (or drush en pagekiwi). It works on Drupal 10.3 and 11. If I'm not an administrator, please give me the Use PageKiwi permission.

Thanks

Know someone this would help? Share it

Quick question

Did this guide help with your problem?