Site analysis configuration
Site analysis
Section titled “Site analysis”4SEO works by crawling your pages just like a search engine does. We call it Site analysis and it’s how we gather information about page content, allowing us to, for instance, add metadata and structured data to your pages, or detect errors.
This analysis can be done in 2 ways, which are not mutually exclusive:
- From the Pages page, using the
Analyze nowtoolbar button - Automatically, in the background, as visitors view pages of your site
Manual analysis
Section titled “Manual analysis”You will use manual analysis when:
- your site is not public yet and so there are no visitors to trigger background analysis
- you are developing the site on your own computer, not online
- you want to speed up the process to test things out
A manual analysis will run until you either stop it or all pages on the site have been analyzed.
Automatic background analysis
Section titled “Automatic background analysis”This is the usual operation mode for live sites, public sites with visitors. In this mode, 4SEO will not only analyze your site until all pages have been processed, but it will also constantly monitor content for changes.
When a change is detected in a page, or a new page is seen, it will be put on the list of pages to crawl and analyzed later, in the background.
Settings
Section titled “Settings”Analyze site automatically
Section titled “Analyze site automatically”If disabled, both automatic background analysis and manual analysis will stop until you set it back on.
Analyze a page again on
Section titled “Analyze a page again on”4SEO monitors all pages of your site for any changes to trigger a new page analysis when something has been added, removed or changed. It can be some text but also a link or an image.
That change detection is based on hashes to be super-quick: it tells us if something has changed but 4SEO does not update data immediately, that could slow down the response to your visitors.
Instead, pages where a change has been detected are put back on the list of pages that need to be analyzed. Later, in the background and with time, 4SEO can run a full analysis of the page again, and update required data: change canonical tags, add or remove to sitemap, etc.
This is all well but some sites have content that changes very often, sometimes on each page load, for each visitor. For instance, you may have “Latest news”, “Associated products” or “Most read articles” that are updated constantly.
Such modules cause 4SEO to constantly re-analyze pages, while this is rarely needed as the main content of the page does not actually change.
To avoid this, and focus on content that matters, 4SEO defaults to re-crawl Only main content changes. With this option, 4SEO only looks at changes in the main content (the page component output).
Note that modules loaded inside the main content, for instance with {loadmodule} or {loadposition} in an article, or by a template override, are part of that main content. If one of them changes constantly, see Content ignored when detecting changes below.
If your site structure is made of modules, or is based on components that do not follow the Joomla API closely, you should switch to Any detected change to have 4SEO look at the entire page when trying to detect changes.
Content ignored when detecting changes
Section titled “Content ignored when detecting changes”Some parts of a page change on their own, without anyone editing the page: a slider showing random articles, a “Latest articles” module, ads,… When such a part sits inside the main content, for instance a module loaded in an article by a template override, every change in it looks like a change of the page, and 4SEO analyzes the page again and again.
You can tell 4SEO to ignore these parts when detecting changes, in 2 ways:
- add the
forseo-analysis-excludeCSS class to the element that holds them - or list their CSS selectors in this setting, one per line: a class (
.my-slider), an id (#ads) or any other CSS selector (.sidebar .latest-news)
The forseo-analysis-exclude class is always taken into account, you don’t need to list it here.
For a module, you can add the class in the module settings, in the Module Class field under the Advanced tab.
Excluded parts are only ignored when detecting changes. 4SEO still collects the links and images they contain, so new pages linked from them are still found.
Reset analysis
Section titled “Reset analysis”4SEO maintains a list of all the pages it found on your site, with data it gathered about them. Likewise, it also records errors and broken links.
By using the Reset analysis now button, you can clear all this data. This may be required in case of having changed a lot of content or the site architecture, adding or removing extensions, or just solving errors for instance.
After being reset, analysis will restart automatically, provided it’s enabled (see above setting).
Exclude/Include pages
Section titled “Exclude/Include pages”Not all pages on your site need to be fully analyzed for SEO purposes, so you can tell 4SEO to skip some using the following settings.
This will both save server resources and also make the Pages page easier to read with only important pages listed.
Apply robots.txt exclusions
Section titled “Apply robots.txt exclusions”If enabled, pages that are excluded in your robots.txt file will not be analyzed. As pages excluded through robots.txt will not be used by search engines, it makes sense to not waste time and energy on them.
You may need to temporarily disable this option on rare occasions. For instance, when developing your site online, it is common to entirely disable search engines crawling until the site is made public. This would prevent 4SEO from analyzing any page and in that case, you’ll need to disable robots.txt rules application.
Apply meta noindex exclusions
Section titled “Apply meta noindex exclusions”Just like for pages excluded through your robots.txt file, 4SEO will by default exclude pages that have a noindex meta tag from being analyzed and stored as a page.
Apply meta nofollow exclusions
Section titled “Apply meta nofollow exclusions”4SEO by default does not consider links found on pages that have a nofollow meta tag for collection and analysis. By changing this option to No, you can force it to bypass the meta tag. This can be used if you temporarily enabled nofollow globally on your site during development for instance.
Skip nofollow links
Section titled “Skip nofollow links”If enabled, links found in your pages with rel attribute containing nofollow will not be analyzed.
Using nofollow to tell search engines to not crawl some links found in your page is common practice to preserve crawl budget (although this is often better done with robots.txt exclusions).
It is also useful when linking to low-quality pages, or non-html documents such as PDF, if you don’t want them indexed.
As this usually signals your intent to avoid search engines crawling those pages, 4SEO will do the same and not analyze them at all. You can disable this feature if you nofollow links for a different purpose and still want pages linked that way to be analyzed and listed on the Pages page.
Excluded URLs
Section titled “Excluded URLs”Per the title, any page request whose URL is listed here will not be stored or analyzed.
As usual, you can use wildcard characters ({*} and {?}) to reject not just a specific URL but a group of them.
For instance:
/forum/{*}will disregard any pages from your forum, assuming all page addresses from your forum start with /forum (this may vary depending on your site setup and forum extension).
Included URLs
Section titled “Included URLs”If you excluded some pages from analysis as described in the previous paragraph, it is sometimes interesting to include back some.
Let’s assume you have excluded your entire forum as above, you may want to actually have one or a few pages still included. You can do so with this setting.
For instance:
/forum/terms/forum/code-of-conductBy entering these 2 lines, despite all pages of the forum being excluded, those two specific pages will be included back and analyzed.
Excluded domains
Section titled “Excluded domains”As 4SEO can find links to other websites on your pages, it will by default perform a basic analysis of it: namely, it checks if the linked page returns a valid response or an error.
You can exclude links to one or more domains from this process, to save time and resources, by listing them here.
Collect external 404 errors
Section titled “Collect external 404 errors”All sites exposed to the public will face a lot of (failed) attacks by robots trying to break into them. This is expected and not a problem at all assuming you maintain your site - Joomla and all extensions - fully updated at all times.
Most of these attacks just check to see if a known vulnerability works on your site. When it does not, they’ll just move on to another type of attack or another website.
The only inconvenience about this is if you try to record 404 errors on your site, in case there’s a bad link somewhere and you want to fix it: you get a lot of these garbage attacks cluttering your error logs.
The logs become hard to use as there are so many random attacks listed.
That’s why you can disable external 404s recording and only keep actual errors happening on your site such as PHP errors or any other error than 404.
These errors are listed on the Errors | Recorded errors page.
Restricted access
Section titled “Restricted access”If your site is still in development, you may be protecting it from external access using a password. This will prevent 4SEO from crawling your site pages.
If you use the HTTP Basic Auth password protection method, the most common one, you can set here your chosen identifier and password. 4SEO will use them to get access when crawling your site, without you having to remove this protection.
Crawler configuration
Section titled “Crawler configuration”Validate TLS certificates
Section titled “Validate TLS certificates”If you develop your site on your local machine, you may be using a temporary, self-signed TLS (also called SSL) certificate.
Such a certificate is usually considered invalid by PHP as it’s not coming from a known certification authority. 4SEO is therefore blocked from analyzing your site as long as you are working locally.
To work around this, you can disable certificate verification here, at least as long as you operate locally.
External cache bypass
Section titled “External cache bypass”In some rare cases, you may be using an external (non-Joomla) full page caching system that breaks 4SEO ability to analyze your website pages. This may be happening if the number of pages stays stuck at zero for instance.
Such external caching may be a CDN or if you enabled fastcgi caching on your server.
When External cache bypass is enabled, 4SEO will add a query variable to all its analysis requests with a random value.
The query variable name is: x-wblr-crawler-cdn-bust.
In this case, you will need to configure your CDN or caching system to use the query string when caching.