[WordPress] 外掛分享: Canonical Attachments

WordPress 外掛 Canonical Attachments 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Canonical Attachments」是 2017-01-18 上架。
  • 目前有 500 個安裝啟用數。
  • 上一次更新是 2020-12-30,距離現在已有 1587 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 4.5.1 以上版本才可以安裝。
  • 有 2 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

hivedigital | jblifestyles |

外掛標籤

pdf | canonical | attachments | canonicalize | canonical tags |

內容簡介

這個外掛是為了讓附件檔案(例如pdf和文檔)能夠通過htaccess創建canoncial標籤作為回應標頭而開發的。

這個外掛:

生成一個htaccess文件來管理這些檔案所上傳的wp-content/uploads目錄
更新htaccess文件,通過標籤在附件被呼叫時傳遞內容
創建一個資訊面板,讓您可以輕鬆篩選並查找沒有標籤或沒有附加到文章的附件。
創建一個資訊面板,讓您可以輕鬆將檔案附加到其父文章(一次一個或批量)或手動添加/刪除檔案的標籤。
允許您從媒體庫中的媒體檔案或上傳時添加canoncial網址
創建一個資訊面板,允許您直接編輯uploads目錄的.htaccess文件,以防網站遷移期間上傳的其他檔案在目錄中

挑戰:分析軟件(例如Google Analytics)無法跟踪透過Google搜尋結果進入網站的使用者。檔案無法在標籤中添加標準的canoncial標籤,而是必須在從伺服器請求該檔案時通過http標頭添加標籤。為了實現這一點,我們需要有一個htaccess文件來聽取對該檔案的請求,然後發送標頭。

預期結果:PDF檔案和其他附件將在搜尋結果中被帖子或頁面替換,我們將能夠測量到那些頁面的流量,並提供下載檔案、提交聯繫表等誘因。注意:標籤並不強制搜索引擎索引一個URL而不是另一個,但作為一個指導/請求搜索引擎。只要附件的內容與canoncial URL相似,您應該可以鼓勵搜索引擎選擇正確的版本而沒有問題。

未來功能和開發

根據反饋,我們希望繼續開發支持用戶請求的其他功能。當前未來特性的想法包括:

自動附加非圖像檔案到已附加的文章上
與非apache伺服器的集成
非WordPress媒體檔案的標籤生成器
選項可以批量刪除標籤關聯並在卸載時刪除htaccess

原文外掛簡介

This plugin was developed to allow canonical tags as response headers to be created via htaccess for attachment files such as pdfs and docs.
The plugin:

Generates an htaccess file to manage the wp-content/uploads directory where these files are being uploaded
Updates the htaccess file with canonical tags which are delivered via a header when the attachment is called
Creates a dashboard where you can easily filter and find attachments without canonicals or that are not attached to a post.
Creates a dashboard where you can easily attach a file to its parent post (one at a time or in bulk) or manually add/remove a canonical tag for a file
Allows you to add a canonical url from the media file in the library or when you upload
Creates a dashboard to edit the .htacess file directly for the uploads directory in case there are additional files in the directory that were uploaded outside of wordpress (e.g. during a site migration)

The challenge: Analytics software such as Google Analytics, cannot track a user that enters a website via a pdf file in Google search results. Files cannot have a standard canonical tag added in the

and instead the canonical tag has to be added via an http header when the file is requested from the server. In order to accomplish this, we need to have an htaccess file listening for a request to that file, and then sending the header.
Expected outcome: PDF files and other attachments will be replaced in search results with the post or page counterparts, and we will be able to measure the traffic to those pages and provide calls to action for downloading the file, submitting contact forms, etc. Note: Canonical tags do not force a search engine to index one url vs. another, but act as a guideline/request to the search engine. As long as the attachment content is similar to the canonical URL, you should have no problem encouraging the search engines to choose the correct version.
Future Features and Development
Based on the feedback, we hope to continue developing additional features to support user requests. Current future feature ideas include:

Automatic canonicalization of non-image files to attached post
Integration with non-apache servers
Canonical builder for non-wordpress media files
Option to bulk delete canonical associations and delete htaccess on uninstall

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Canonical Attachments」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


0.5 | 1.0 | 1.1 | 1.2 | 1.3 | 1.4 | 1.5 | 1.6 | 1.7 | trunk |

延伸相關外掛(你可能也想知道)

  • Export media with selected content 》在 WordPress 的匯出畫面中,當選擇一種文章類型時,預設情況下不會將其連結的媒體(附件)包含在內。本外掛程式則新增了一個「匯出選定內容時包含媒體」的選...。
  • File Upload Types by WPForms 》WordPress 檔案上傳類型外掛, 您是否希望您的 WordPress 網站接受更多類型、更自由地上傳檔案?我們創建了『File Upload Types』外掛,讓任何人都可以輕鬆地...。
  • Lightbox with PhotoSwipe 》這個外掛在 WordPress 中整合了擴展版的 PhotoSwipe 4 或官方發行的 PhotoSwipe 5。發布或頁面中所有連結的圖像將使用 PhotoSwipe 顯示,而不管它們是圖片庫...。
  • Responsive WordPress Slider – HG Slider 》HG Slider 在您的 WordPress 管理員中創建一個新的「Slides」區域,並允許您輕鬆設置網站周圍的多個幻燈片。它使用標準的 WordPress 用戶界面,因此您(以及...。
  • Download Attachments 》Download Attachments 是 WordPress 的新型下載管理工具,它可以簡化界面、提供拖放和 AJAX 驅動的 metabox 來插入和管理您的媒體庫文件,然後通過自動或手動...。
  • Document Gallery 》這個外掛可讓使用者毫不費力地建立文件和其他附加媒體的圖庫,就像現有的圖像附件圖庫選項一樣。, 觀看以下視頻以瞭解 Document Gallery 如何運作:, , 在設...。
  • DeMomentSomTres WordPress Export Posts With Images 》DeMomentSomTres WordPress Export Posts With Images是為了因應DeMomentSomTres數位行銷代理公司的客戶需求而開發的。該客戶有一個非常龐大的部落格,需要將...。
  • Media Deduper 》媒體 Deduper 可以從您的 WordPress 媒體庫中找到並刪除重複的圖片和附件。安裝後,您將在媒體部分中擁有一個新的「管理重複項目」選項。, 在 Media Deduper ...。
  • File Away 》從您的伺服器目錄或頁面附件上傳、管理和顯示檔案,以時尚的清單或可排序的資料表方式呈現,還有更多更多的功能。。
  • Import External Images 》此外掛會將文章中所有連結的圖片下載到本地並該圖片添加至相簿附件中。, 特色功能, 感謝, 此外掛是基於 http://www.bbqiguana.com/ 的「Add Linked Images to...。
  • GD bbPress Attachments 》GD bbPress Attachments是一款易於使用的WordPress和bbPress插件,可用於實現bbPress論壇主題和回復的文件上傳。您可以從主插件設置面板控制文件大小,或者您...。
  • WP Attachments 》WP Attachments 是一個 WordPress 的外掛,可增強下載體驗和檔案管理的功能。它為附件添加了一些功能,並自動在文章和頁面中顯示它們。, 當您上傳一個檔案時...。
  • Sensei LMS Media Attachments 》Sensei LMS 媒體附件讓您可以將媒體檔案附加到 Sensei LMS 課程和課程主題。, 例如,您可能會有一些閱讀材料是以 PDF 格式提供給您的學生。, 有了 Sensei LMS...。
  • Attachment Importer 》這是什麼?, 我發現 WordPress Importer 外掛在匯入文章和評論時非常好用,但在匯入大型網站的大型附件(例如圖片)時有所不足。我的匯入常常會逾時並崩潰。...。
  • WP Document Revisions 》WP Document Revisions 是一款文件管理和版本控制外掛,適用於時間敏感和任務關鍵項目。團隊可以共同編輯任何格式的文件,包括文字文檔、電子表格、圖像、樂...。

文章
Filter
Apply Filters
Mastodon