Canonical Attachments
by hivedigital 5 (3 reviews)

Canonical Attachments

Get more information from analytics and higher rankings by utilizing canonical http headers in htaccess for non image media attachments like pdfs.

Canonical Attachments ranks #10,736 among WordPress.org plugins with 300+ active installations, is #1,134 of 6,651 in the Media category, a 5/5 rating from 3 reviews, and was last updated Aug 25, 2025. Data from WordPress.org, refreshed twice daily — see methodology.

Tested up to WP 6.8 (Current: 7.1.4)
v1.8 Current Version v1.8
Updated 1 year ago Last Update on 25 Aug, 2025
Refreshed 1 week ago Last Refreshed on
#1,134 of 6,651 in Media Top 25% by installs No update in over a year
View on WordPress.org
Rank
#10,736
— No change
Active Installs
300+
-13.3%
KW Avg Position
16
0.5 worse
Downloads
7.3K
+3 today
Support Resolved
0%
— No change
Rating
100%
Review 5 out of 5
5 (3 reviews)

Next Milestone 400

Total Progress 38%
300+ 400+
915
Ranks to Climb
-
Growth Needed
8,000,000
Active Installs
Pro

Unlock Exact Install Count

See the precise estimated active installs for this plugin, calculated from real-time ranking data.

  • Exact install estimates within tiers
  • Track install growth over time
  • Milestone progress predictions
Upgrade to Pro
Need 62 more installs to reach 400+

Rank Changes

10,199 10,468 10,736 11,004 11,273 31-10-2026 01-11-2026 02-11-2026 03-11-2026 04-11-2026 05-11-2026 06-11-2026 07-11-2026
10,726 10,748 10,770 10,792 10,814 23-10-2026 24-10-2026 25-10-2026 26-10-2026 27-10-2026 28-10-2026 29-10-2026 30-10-2026 31-10-2026 01-11-2026 02-11-2026 03-11-2026 04-11-2026 05-11-2026 06-11-2026 07-11-2026
Current #10,736
Change
Best #

Upgrade to Pro

Unlock 30-day and 90-day rank history charts with a Pro subscription.

Upgrade Now

Active Installs Growth

Active Installs 0,000,000+
Growth +0.0%
Peak 0,000,000

Downloads Growth

0 10 20 31-10-2026 01-11-2026 02-11-2026 03-11-2026 04-11-2026 05-11-2026 06-11-2026 07-11-2026
0 10 20 23-10-2026 24-10-2026 25-10-2026 26-10-2026 27-10-2026 28-10-2026 29-10-2026 30-10-2026 31-10-2026 01-11-2026 02-11-2026 03-11-2026 04-11-2026 05-11-2026 06-11-2026 07-11-2026
Downloads
Growth
Peak

Upgrade to Pro

Unlock 30-day, 90-day, and yearly download history charts with a Pro subscription.

Upgrade Now

Reviews & Ratings

5.0
3 reviews
Overall 100%
5
2 (67%)
4
0 (0%)
3
0 (0%)
2
0 (0%)
1
1 (33%)

Security History

Source: WPVulnerability

1 known vulnerability on record · 1 in the last 24 months · checked 3 months ago

  1. UNPATCHED

    Canonical Attachments [canonical-attachments] <= 1.8 (unfixed)

    CVE-2025-32543 · No fix released

TL;DR

AI summary of the plugin's readme

This plugin is for WordPress site owners and SEO teams managing PDF and document attachments who want those files tracked properly in analytics. It solves the problem of search engines and analytics tools treating attachment files separately from their parent posts by adding canonical headers via htaccess.

  • Generates htaccess file for uploads
  • Adds canonical tags via headers
  • Dashboard to find missing canonicals
  • Bulk attach files to posts
  • Manually add/remove canonical tags
  • Add canonical URL on upload
  • Edit htaccess file directly

Frequently Asked Questions

Common questions about Canonical Attachments

No. This plugin only works for wordpress installations on servers running apache, as it is depending on writing the rules to the .htaccess file.
The plugin will need to be able to write to the directory in order to work. When you install the plugin, it will create the .htaccess file with the proper permissions.
As there may be other items in the htaccess file that are important, uninstalling this plugin does not remove the .htaccess file. You will have to do this manually. It is important to note that uninstalling this plugin does not remove any content of the htaccess file. If you wish to remove canonicals, you should use the bulk editor or manually edit the .htaccess file using the editor option. When you remove by manually editing the htaccess file, the associations will still exist in the wordpress database as an option for that media item, but since they are not in the .htaccess file, they will be "useless". This is why it is recommended to use the bulk editor vs. editing htaccess directly.
In some instances there may be files outside of wordpress's database that you wish to canonical, so we wanted to make it accessible for adding those items. The most likely case for this would be if you migrated to wordpress and manually moved a directory or files into the uploads folder vs. uplaoding through wordpress. Future iterations of this plugin might include a way to better manage non wordpress linked media files.
This has nothing to do with our plugin, but occurs when you upload media files when you are not editing / creating a post. The wordpress library has a filter for unattached media items, and you can attach them manually there. Our editor does not require the media item be attached to a post, it just makes it possible to use the bulk feature to attach vs. having to do it one at a time. You can also use the post finder from the "attach media" option in our bulk editor.
This plugin was developed by the good folks at Hive Digital

Sign In / Register

You need to sign in or register to use this feature.