Aimy Sitemap's crawl-website.php script is obsolete as it does not support Joomla! 6. However, Aimy Sitemap CLI does provide the same functionality with its crawl-website command.

Here's a step-by-step list on how to make the switch easily:

  1. Download the current version of Aimy Sitemap CLI (free of charge)
  2. Install & enable the downloaded Aimy Sitemap CLI plugin
  3. Check the settings you made in the "Periodic Crawl" tab of Aimy Sitemap's options and note the equivalent option for Aimy Sitemap CLI's crawl-website:
    Aimy Sitemap's crawl-website.php Aimy Sitemap CLI's crawl-website
    "Write Sitemap" → "Yes" --write-sitemap
    "Notify Search Engines" → "Yes" --notify-indexnow
  4. Update your periodic crawling command to use the Joomla! CLI instead of the obsolete crawl-website.php script, pass aimysitemap:crawl-website as a command along with the options you determined before, i.e.: --write-sitemap (see example below)
  5. Remember to check whether your periodic crawls work as expected afterwards

Command Replacement Example

Full command before:
/usr/bin/php /var/www/administrator/com_aimysitemap/cli/crawl-website.php

Full command after:
/usr/bin/php /var/www/cli/joomla.php aimysitemap:crawl-website --write-sitemap