An external referrer is any site that links to your Confluence instance. Each time someone clicks on the external link, your Confluence site can record the click as a referral.
You can exclude external referrers to prevent them from being recorded or displayed anywhere on your site. Once you have specified your list of blocked URLs, any incoming links from URLs that match the list will no longer be recorded. Referrer URLs are blocked if they start with any of the URLs in the exclusion list. So http://evilspamsite.blogspot.com will also match http://evilspamsite.blogspot.com/nastypage.html
There are two instances where you may want to do this:
- If you are running a Confluence installation that is open to public:
In a site that is open to public, one unfortunate problem is that malicious sites can spam the display of a page's incoming links statistics. This is usually done to get the site's URL to appear in the sidebar. By adding these sites to the 'excluded referrers' list, you can prevent them from being listed on your site.
- If Confluence is installed on a server with multiple domain names or IP addresses:
Confluence will consider any URL originating from the domain name where Confluence is installed as an internal link. However, if Confluence is installed on a server with multiple domain names or IP addresses, you will need to add the other domain name prefixes to this list to let Confluence know that any links from these domains should not be considered external links.
You need to be a Confluence administrator and to know the URL of the site to add it to the excluded referrers list.
To add a URL to the excluded referrers list:
- Choose the cog icon at top right of the screen, then choose Confluence Admin.
- Choose Manage Referrers
- Enter the URL in the Referrer URL Prefix field (you must include http://)
- Choose Add.
You can add multiple URLs to the list.