XML Sitemap for PDFs for Yoast SEO

外掛說明

This plugin adds an XML sitemap for PDFs. It adds this XML sitemap to the sitemap_index.xml that Yoast SEO generates.
It has no settings.

Have you found an issue?

If you have bugs to report, please go to the plugin’s GitHub repository. For security issues, please use our vulnerability disclosure program, which is managed by PatchStack. They will assist you with verification, CVE assignment, and, of course, notify us.

螢幕擷圖

  • Example PDF XML sitemap.
  • Example of PDF XML sitemap linked in Index Sitemap.

安裝方式

  1. Upload the files to the /wp-content/plugins/pdf-sitemap/ directory or install through WordPress directly.
  2. Activate the ‘XML Sitemap for PDFs for Yoast SEO’ plugin through the ‘Plugins’ menu in WordPress
  3. Go to your site’s sitemap_index.xml file and click on from there.

常見問題集

Will this include PDFs uploaded through forms?

The plugin only scans folders with numeric names, so it won’t add files that have been uploaded through forms.

Does this plugin cache its output?

Yes, the plugin scans the uploads folder once per day and saves that data to a transient. When you upload a new PDF file
that cache is cleared automatically.

Does this plugin work on multisite?

This plugin has not been tested on multisite.

Where can I report issues?

On this plugin’s GitHub repository.

使用者評論

2023 年 6 月 4 日
Worked exactly as described. PDF's are now included in the Yoast xml sitemap. Submitted the sitemap to Google Search Console and inspected a URL with pdf, and it was reported as found in the sitemap. Installed this plugin in an effort to set canonical for pdf. I have not had much success with creating rewrite rules and wish that the plugin had an option like "set as canonical". Thanks anyway!
閱讀全部 1 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈XML Sitemap for PDFs for Yoast SEO〉的開發相關工作。

參與者

〈XML Sitemap for PDFs for Yoast SEO〉外掛目前已有 2 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈XML Sitemap for PDFs for Yoast SEO〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.1

  • Fix a bug (#1)that would cause the cache not to be used.
  • Fix a bug (#2) that would cause image dimensions to be missing.

1.0.1

  • Fixed a potential notice for an unset variable.
  • Renamed some filters for consistency.

1.0

  • First version.