We rebuilt our website from scratch and are still updating some extensions and pages. Having a problem? Sign in and open a support ticket or contact us.
JoomBoost

Crawler

The crawler builds the index your sitemap is written from. It visits your website like a search engine: it starts at the home page, reads each page and follows its links. Open it with Components > JoomSitemap > Crawler. The page title is JoomSitemap: Crawl Website.

Run a crawl

  1. Click Start Crawling.
  2. Stay on the page while the crawl runs. The browser sends one request per page, so closing the tab or opening another page stops the crawl.
  3. The progress bar shows how many URLs are done out of the URLs found so far. The number of URLs found grows while the crawl runs.
  4. When the crawl is done, the page shows Crawling successfully finished and lists the pages that were Added, Deleted and Updated in the index.

A button under the report opens Manage URLs. If the crawl found broken links, a second button opens the Link Check.

If the server does not answer a request, the crawler waits 10 seconds and tries again, up to 30 times.

Abort and resume

Click Abort Crawling to stop a running crawl. The next time you click Start Crawling, JoomSitemap asks Do you want to resume the aborted crawl? Click Yes to continue where it stopped, or No to start a new crawl from the home page. A hint on the page also tells you that the last crawl was aborted.

Browser notification

With Use Browser Notifications on (the default), your browser can show a notification when the crawl finishes, so you can work in another window. The browser asks for permission the first time.

  • Links in <a href="/...">, unless the link has rel="nofollow".
  • Links to other language versions in <link rel="alternate" hreflang="...">.
  • Images in <img src="/...">, when Include Images is on.
  • Redirects: when a URL redirects, the crawler follows it to the target.

The crawler stays on your site. It ignores links to other domains, links outside the Joomla base URL, the /administrator/ folder, mailto:, tel:, javascript: and similar links, and URLs longer than 767 characters.

Which pages go into the index

A URL is added to the index when all of these are true:

  • It answers with HTTP status 200.
  • It is not blocked by your robots.txt. The crawler reads the rules for User-agent: * and for User-agent: JoomSitemapCrawler.
  • It does not match one of your exclude patterns.
  • For HTML pages: the robots meta tag does not contain noindex, and the page passes the canonical check if you turned it on.

Files such as images or PDF documents are added too when they are linked and answer 200. Their title is the file name.

A page with nofollow in its robots meta tag can be in the index, but its links are not followed.

The page that shows the JoomSitemap HTML sitemap is not added to the index, and the links in the HTML sitemap are not followed. This keeps the HTML sitemap from feeding old pages back into the crawl.

What is stored for each page

Field Where it comes from
URL The path and query of the page, without the domain
Title The <title> of the page. If Site Name in Page Titles is set in Joomla's Global Configuration, the site name is removed
Language The inLanguage meta tag, the lang attribute of the <html> tag or the Content-Language meta tag
Last Change The Last-Modified header of the response

Joomla sends the current time as Last-Modified for pages that are not cached. On most sites, Last Change therefore shows the date of the crawl.

What a crawl changes in the index

When the crawl finishes, JoomSitemap compares the pages it found with the index:

  • New pages are added with the priority, change frequency and state from Default Values in the options.
  • Known pages get the new title, language and last change date. A locked page keeps its title and language.
  • Pages the crawl did not find are deleted from the index, locked or not.

Priority, change frequency and state of known pages are never changed by a crawl. The XML sitemap file is not written by the crawl in the administrator. Click Write Sitemap in Manage URLs afterwards.

Exclude patterns

Set them in Options > Crawler > Exclude Patterns, one pattern per line. A URL that matches a pattern is not added to the index. Its links are still followed.

  • * stands for any text, including nothing.
  • The pattern must match the whole path of the URL, from the first /. So use */blog/*, not /blog/.
  • If Joomla is in a subfolder, the path starts with that folder, for example /joomla/images/logo.png. Patterns that start with * work in both cases.

The default patterns are:

*.gif
*/sampledata/*
*/cache/*
*/thumbs/*
*/component/*
*/media/system/*
*/assets/*
*/checkout/*

To keep a part of your site out of the crawl completely, so that its links are not followed either, block it in robots.txt for JoomSitemapCrawler.

Canonical check

Options > Crawler > Check Canonical compares the page URL with the <link rel="canonical"> of the page (path and parameters):

  • Yes, if link set: a page whose canonical link points to another URL is not added. Pages without a canonical link are added.
  • Yes, link required: also leaves out pages that have no canonical link.
  • No: no check (the default).

Debugging mode

When Enable Debugging Mode is on in the options, or when Joomla's Debug System is on in the Global Configuration, the crawler writes a detailed log to joomsitemap.php in Joomla's log folder and does not update the index. A message on the Crawler page tells you this, and a Download Log File button appears after the crawl. Turn debugging off again for normal crawls.

When the crawler cannot run

  • The site is in offline mode: the page shows Your website is currently in offline mode and thus cannot be crawled.
  • Your user group lacks the Crawl Website permission, see Permissions.
  • Use HTTP Authentication is on but the username or password is empty: a message links to the options.

More cases are in Troubleshooting.

All Extensions