Preflight audit settings
Some Preflight audits have settings that change what they check, such as links to ignore. You manage these settings in AEM Sites Optimizer, on the Preflight Settings page. You can set each one for a single site, or for your whole organization if you have permission. See Who can change the settings.
The following audits have settings:
Open the Preflight settings
- Go to AEM Sites Optimizer.
- Select Settings (the gear icon) in the left navigation.
- On the Preflight Settings card, select Manage settings.
The Preflight Settings page opens for the site that is selected in Sites Optimizer. The text under the page title includes the site’s domain, so you can see which site you are changing.
The page lists each audit that has settings and runs for this site. If an audit does not run for the site, its settings are not shown. Expand an audit to see and change its settings.
If no audit with settings runs for the site, the page shows No Preflight settings for this site. To turn on an audit, contact Adobe Customer Support.
Open the settings from Preflight
- All audits: select Settings (the gear icon) in the Preflight header, or in More actions (…).
- One audit: on the Internal Links or External Links detail page, select Internal Links settings or External Links settings (the gear icon) at the end of the audit title. The page opens with this audit expanded.
The page opens in a new browser tab, for the site of the page that you are editing. If you belong to more than one organization, it opens in the organization that you last used in Experience Cloud. If the site is in another organization, switch to that organization and open the settings again.
Link to the Preflight settings
To link directly to the Preflight Settings page of a site, use the following URL. Replace <org> with your organization and <site id> with the ID of the site:
https://experience.adobe.com/#/@<org>/sites-optimizer/sites/<site id>/settings/preflight
To open the page with one audit already expanded, add the audit parameter with the audit’s name from the table below. For example:
https://experience.adobe.com/#/@<org>/sites-optimizer/sites/<site id>/settings/preflight?audit=internal-links-preflight
auditexternal-links-preflightinternal-links-preflightWithout the audit parameter, the page opens with all audits collapsed. The same happens when the value is not in the table, or when the audit does not run for the site. In those cases, the page also removes the parameter from the URL.
Who can change the settings
Anyone who can view a site can open its Preflight Settings page. To change the settings, you need the following access. For more information, see Manage user permissions.
- This site: the Configure capability for the site. Without it, the page shows You can view these settings, but you do not have permission to change them. If user and access management is not turned on for your organization, anyone who can open the page can change the settings for this site.
- Organization: the Configure capability for the site, and organization-wide access that includes Configure. See Organization-wide roles.
When you can change the settings for this site but not for the organization, you can see the organization entries, but you cannot change them. The page shows one of the following notes to explain why:
Site and organization settings
Each setting has two lists of entries:
- This site: entries that apply only to the site that you are changing.
- Organization: entries that apply to every site in your organization.
The audit uses both lists together. For example, if the organization list ignores example.com and the list for this site ignores example.org, the External Links audit for this site ignores both domains.
The page shows the entries of both lists in one table. The Scope column shows the list that each entry is in:
The next column, named after the setting, such as URLs to ignore, shows the entry. If you can change the entry, its row also has the edit and remove buttons.
- An entry for this site cannot repeat an organization entry, because the organization entry already applies to this site. The page shows This entry already applies to the organization.
- When you add an organization entry that the list for this site already has, the page removes the entry from the list for this site and tells you so. The lists of other sites do not change.
- An entry can be in both lists if it was saved to both before. When you can change the organization settings and you edit this entry, the dialog starts at Organization, and your change replaces both copies.
Add, change, and remove entries
To add an entry:
- Expand the audit.
- Select Add. A dialog opens.
- Enter the entry.
- If you can change the organization settings, choose Applies to: This site (the default) or Organization. Otherwise, the entry applies to this site.
- Select Add. If the entry is not valid, the dialog tells you why, and nothing is added.
A new entry shows New at the top of the table until you save.
To change an existing entry, use the buttons in its row:
- To change the entry, select the edit button (the pencil icon). Change the entry, and select Apply. If you can change the organization settings, you can also change Applies to to move the entry to the other list.
- To delete the entry, select the remove button (the trash icon).
You can change and delete organization entries only if you can change the organization settings.
Your changes are not saved until you select Save. Until then, the audit’s title shows Unsaved changes. To undo all unsaved changes for the audit, select Discard changes.
Save the settings
Select Save to save the changes for an audit. Each audit has its own Save button.
If your changes include organization entries, the Save changes for the organization? dialog asks you to confirm, because the changes apply to every site in your organization. Select Save to continue.
When the save is complete, the page shows Preflight settings saved.
If another user changed the organization settings while you were editing, the save stops and the page reloads the settings. Make your changes again, and then save.
The settings apply to the next Preflight run. They do not change results that Preflight already shows. To apply the new settings to a page, select Reanalyze in Preflight. See Audit results in Preflight.
External Links: Domains to ignore
Links to a domain in Domains to ignore, and to its subdomains, are not checked and are not reported. For example, example.com also ignores www.example.com and blog.example.com. However, www.example.com does not ignore example.com.
Enter a domain name only:
- Do not include
https://, a path, a port, spaces, or wildcards such as*. - Include at least one dot, such as
example.com. - Use only letters, numbers, hyphens, and dots. A hyphen cannot be first or last between two dots.
- Enter an internationalized domain name in its
xn--form (punycode). For example, enterbücher.exampleasxn--bcher-kva.example.
Uppercase letters become lowercase, and a dot at the end is removed. Each list can have up to 200 domains.
For more information about the audit, see External Links audit.
Internal Links: URLs to ignore
The Internal Links audit does not check, count, or report a link that matches an entry in URLs to ignore.
Enter an entry
Enter the path that the page links to:
- On an AEM site, enter the content path, for example
/content/site/en/page.html. - On a site that uses the Universal Editor with Edge Delivery Services, enter the site path, for example
/en/page.
Spaces before and after an entry are removed. Each list can have up to 200 entries. Each entry can have up to 2,048 characters, counting the path, the #, and the fragment.
How links are matched
- Exact and case-sensitive: an entry matches only the same path. Wildcards are not supported.
- Query string and trailing slash: both are ignored.
/aand/a/are the same entry, but/a.htmlis a different entry. - Home page:
/ignores only links to the home page, not the whole site. - Fragments: an entry without a fragment ignores every link to that page. An entry with a fragment, such as
/page#pricing, ignores only links with exactly that fragment.
Add the fragment when JavaScript handles it, for example a route such as/app#/settingsor a tab that is built when the page loads. Then the Missing fragment check does not report a link that works. - Encoded characters: an encoded character and the plain character are the same. For example,
/fr/%C3%A9t%C3%A9.htmland/fr/été.htmlmatch each other. An encoded%,/,?,#, or space, such as%20, stays encoded. A%that does not start an encoded character is saved as%25. - Dot segments:
.and..segments are resolved. For example,/a/../bis saved as/b. - Host: an entry with a host, such as
https://www.example.com/a, matches only links to that host and port.httpandhttpsare the same.
The Internal Links audit checks only links to the host of the page that you are editing. So an entry with another host usually has no effect. To ignore links to another site, add its domain to Domains to ignore instead.
Entries that are not valid
The page does not add an entry, and Sites Optimizer does not save it, when the entry:
- has no host and does not start with
/. For example,page.html,../page.html,?x, and..are not valid. They are not saved as the home page. - starts with
//. - contains a space or a control character in the host, the path, or the fragment. A space in the query string is allowed, because the query string is ignored.
- contains a tab or a line break.
- contains
*, also when it is encoded as%2A. - contains a user name or password, such as
user:password@. - uses a scheme other than
httporhttps. - has an IPv6 address in brackets as its host.
- has an internationalized host that is not in punycode.
Notices when you add an entry
After you add an entry, the page can show a notice in its row. A notice tells you when:
- the page changed the entry to the form that it saves, for example without a query string or a trailing slash.
- the entry has a host, so it matches only links to that host. See Host in How links are matched.
- the entry also covers entries that are already in the list. For example, you added
/my/pagewhile/my/page#hellois in the list. The page keeps/my/page#hello, but it no longer has any effect. Remove it if you no longer need it.
The page does not add an entry that a broader entry already covers. For example, /a already ignores /a#top and https://www.example.com/a, so you cannot add them. To ignore only the narrower links, remove the broader entry first.
For more information about the audit, see Internal Links audit.