このプラグインは WordPress の最新3回のメジャーリリースに対してテストされていません。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress で使用した場合は互換性の問題が発生する可能性があります。

Attachment Slugs for WordPress

説明

Attachment Slugs for WordPress enables you to add permalink support for media attachments making the attachment URLs more friendly and great for SEO results should you decide to index your attachments.

You can also edit the permalink slug of an individual attachment which you can not do via “Quick Edit” like other post types. Changing the attachment title does not update the permalink slug so this is handy to have should you want to rename the URL for the attachment.

How to edit an attachment slug?

Simply go to the media library and edit the item you wish to rename. Then on the left side under “Attachment Slug” you can rename the slug. Press the “Update” button and that’s it.

Contribute on GitHub

You can contribute code to this plugin via the GitHub repository.

Support

Use the WordPress.org forums for community support. If you spot a bug, you can of course log it on Github instead where I can act upon it more efficiently.

Please Leave a Review

Your ratings make a big difference. If you like Attachment Slugs, please consider spending a minute or two leaving a review and tell me what you think about the plugin.

More information

スクリーンショット

  • Attachment permalink settings

インストール

Installing “Attachment Slug” can be done either by searching for “Attachment Slug” via the “Plugins > Add New” screen in your WordPress dashboard, or by using the following steps:

  1. Download the plugin via WordPress.org
  2. Upload the ZIP file through the ‘Plugins > Add New > Upload’ screen in your WordPress dashboard.
  3. Activate the plugin through the ‘Plugins’ menu in WordPress.

Setting up the Plugin

Simply go to “Settings -> Permalinks” page and then at the bottom configure the attachment permalinks to your liking and press “Save Changes”. That’s it!

Upgrading

Automatic updates should work like a charm; as always though, ensure you backup your site just in case.

評価

2020年3月31日 2 replies
I've never liked having attachment URLs based on the root / - yes i know as far as wordpress is concerned, they're just like "posts" - but I'm never putting as much care into what my image attachments are titled (almost never use the titles). I've always just redirected the attachment page, but when you *do* want to use it, having a slug prefix (like "media/title-of-attachment") is sooooo much nicer
2018年12月5日 4 replies
thanks you for this plugin. متشکرم از اینکهداین افزونه ذو ساختید. در وقتم صرفه جویی کرد و بخوبی کار کرد.
3件のレビューをすべて表示

貢献者と開発者

Attachment Slugs for WordPress はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“Attachment Slugs for WordPress” は1ロケールに翻訳されています。 翻訳者のみなさん、翻訳へのご協力ありがとうございます。

“Attachment Slugs for WordPress” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

v2.0.0 – 13th December 2022

What’s New?

  • Just a little refresh of the plugin to keep it up to date with the latest WordPress.
  • Applies a few improvements and corrections.

⚠️ You will have to redo your attachment permalinks once updated to this version of the plugin. ⚠️