trackbackRdf ($trackbackUtils.getContentIdentifier($page) $page.title $trackbackUtils.getPingUrl($page)) line is coming in Every Page
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
Users are getting \#trackbackRdf ($trackbackUtils.getContentIdentifier($page) $page.title $trackbackUtils.getPingUrl($page)) line after upgrading to Confluence 7.0 and above if they have used the trackback feature in their Customizations.
Environment
7.0 and above
Cause
- In Versions prior to 7.0, Trackback enabled Confluence to send and receive trackback pings when pages are linked. Referrers appear on the Page Information view of a page, and list clicks from external websites to the page. Trackback is no longer widely used in modern websites, and because it relies on accepting unauthenticated requests to a particular URL, is a spam vector.
- We removed the trackback and referrers features completely in Confluence 7.0 as per the feature request.
- Because of this the Trackback used in the Customizations does not work as expected and gets printed on the Pages.
Solution
If you are getting this line on every page you can follow below steps to get rid of this.
What to do next
- You can either remove the line #trackbackRdf ($trackbackUtils.getContentIdentifier($page) $page.title $trackbackUtils.getPingUrl($page)) from the Page layout or comment it out.
- To comment you have to just add one #. So the commented line will look like
##trackbackRdf ($trackbackUtils.getContentIdentifier($page) $page.title $trackbackUtils.getPingUrl($page))
- To remove this from a particular Space,
- Go to "Space Tools -> Look and Feel"
- Go to "Space Tools -> Look and Feel"
- Take a backup of the Page layout (copy to notepad or something) and remove the line that begins with #trackbackRdf from it and save.
- If you want to remove it from all Spaces
- Go to General Configuration→ Layouts→ Page Layout and follow the same steps as mentioned above.