Troubleshooting
The crawl stops after the first page
The message is Crawling finished after visiting the first URL of your website. The crawler found no link it may follow on your home page. Check:
- The site address. The crawler only follows links to the same host name as your Joomla site address. If
example.comredirects towww.example.com, orhttptohttps, open the administrator with the final address, or set Protocol in the crawler options. - robots.txt. A
Disallow: /forUser-agent: *orUser-agent: JoomSitemapCrawlerblocks everything. Check it on the Robots.txt page. - The robots meta tag of the home page. With
nofollow, the crawler does not follow its links. Check System > Global Configuration > Site > Robots and the robots setting of the home menu item. - Links built by JavaScript. The crawler reads the HTML the server sends. Menus that only appear through JavaScript are not seen.
The crawl stops with Invalid entry found
The crawler cannot read a line of your robots.txt, for example Clean-param: or Request-rate:, or a line without a colon. The message names the line. Remove the line or turn it into a comment with # in front, then crawl again. Use Validate on the Robots.txt page to check the file.
Failed to connect
The server cannot open a connection to your own website. Common causes:
- The host blocks connections from the server to itself, or the domain points to another IP address on the server than from outside. Ask your host to allow it.
- Your site uses HTTPS but PHP has no SSL support. The Crawler page then warns that your site must also be reachable over HTTP. Set Protocol to http if it is, or ask your host to enable OpenSSL.
- A firewall or security extension blocks the crawler. See the next section.
Many pages answer 403 or 429
A security extension or the host firewall blocks the crawler. Allow the user agent JoomSitemapCrawler or the server's own IP address there. If your site blocks unknown bots, try Disguise as Browser. If the site limits the number of requests, set a Delay of 0.5 seconds or more.
The crawl runs but the index does not change
The Crawler page shows Debugging mode is enabled and the result says The crawling details have been logged, your index has not been updated. Turn off Enable Debugging Mode in the options and Debug System in System > Global Configuration > System. Joomla's debug mode also turns on JoomSitemap's debugging mode.
A page is missing from the sitemap
Check, in this order:
- Is the page linked from another page the crawler visits? Pages that are only in the HTML sitemap are not found, see HTML sitemap.
- Is it blocked by robots.txt, a
noindexrobots meta tag, an exclude pattern or the canonical check? - Does it answer with status 200? Look at the errors after the crawl.
- Is it active in Manage URLs? With Default Values > State set to No, new pages are added deactivated.
- Did you click Write Sitemap after the crawl?
Pages I deactivated or edited come back
They do not: a crawl keeps the state, priority and change frequency of known pages. But a page that disappears from your site for one crawl is removed from the index, and when it comes back it is added as a new page with the default values. Edited titles are replaced at the next crawl unless the page is locked.
Write Sitemap shows an error
- No output file for the XML sitemap has been configured. Open the options, check XML Sitemap Path and save.
- Failed to write XML sitemap output file The web server cannot write to that path. Check the folder permissions on your server.
- Cannot generate sitemap.xml.gz - gzencode() function missing. PHP has no zlib extension. Turn off Generate Compressed Version or ask your host to enable zlib.
Last Change shows the date of the crawl for every page
Joomla sends the current time as Last-Modified for pages that are not cached, and the crawler stores that date. Turn off Include Last Change in the options if you do not want these dates in the sitemap.
Titles in the index still contain the site name
JoomSitemap removes the site name when System > Global Configuration > Site Name in Page Titles is set to Before or After and the title follows Joomla's page title format. Titles made by a template or SEO extension in another format keep the site name. Edit and lock those pages in Manage URLs.
The Timeout setting does nothing
In 6.0.5 the Timeout option is not used. Each request waits up to 10 seconds for the connection.
Notify Search Engines shows an error
- The XML sitemap is missing on your webspace: write the sitemap first.
- You activated IndexNow support in the options. To use this feature, Joomsitemap IndexNow PRO is required. Please activate the plugin. The plugin Content - JoomSitemap IndexNow is disabled. Enable it in System > Manage > Plugins. It is included in the package; you do not need to buy anything.
- No key has been set, yet. Set a key in the plugin, see IndexNow.
- Disabled: set Notify IndexNow? to Yes in the options.
- Received HTTP 403 response: IndexNow cannot read your key file. Open
https://your-site/<your-key>.txtin a browser. If your site is in a subfolder, IndexNow cannot be used.
IndexNow does not send anything when I save an article
Check the plugin's Submission setting, the content type switches on its Integration tab and Disable on Local Networks?. Read the message after saving: it says why a page was skipped. See IndexNow.
The command line crawl says Failed to retrieve base-url
The command does not know your site address yet. Open Components > JoomSitemap > CLI Crawling once in the administrator, or add --live-site=https://www.example.com to the command. See CLI crawling.
The CLI Crawling page shows COM_JOOMSITEMAP_CRAWL_SCRIPT_DEPRECATION_NOTICE_X
This text appears in 6.0.5 when the CLI - JoomSitemap plugin is missing, or on Joomla 6 when it is disabled. Enable the plugin in System > Manage > Plugins, or install the package again if the plugin is missing.
A crawl in the administrator stops when I leave the page
The browser runs the crawl one page at a time. Keep the tab open until it finishes. If it was stopped, click Start Crawling and choose Yes to resume. For long crawls, use the command line.