Title: Attachment Slugs for WordPress
Author: Sébastien Dumont
Published: <strong>27 Tháng 2, 2016</strong>
Last modified: 13 Tháng 12, 2022

---

Tìm kiếm plugin

![](https://ps.w.org/attachment-slug/assets/banner-772x250.png?rev=1578306)

Plugin này **chưa được cập nhật với 3 phiên bản mới nhất của WordPress**. Nó có 
thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress
mới nhất.

![](https://ps.w.org/attachment-slug/assets/icon-256x256.png?rev=1578306)

# Attachment Slugs for WordPress

 Bởi [Sébastien Dumont](https://profiles.wordpress.org/sebd86/)

[Tải về](https://downloads.wordpress.org/plugin/attachment-slug.2.0.0.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/attachment-slug/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/attachment-slug/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/attachment-slug/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/attachment-slug/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/attachment-slug/)

## Mô tả

**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](https://github.com/seb86/attachment-slugs/blob/master/.github/CONTRIBUTING.md)
to this plugin via the [GitHub](https://github.com/seb86/attachment-slugs/blob/master/.github/CONTRIBUTING.md)
repository.

#### Support

Use the WordPress.org forums for [community support](https://wordpress.org/support/plugin/attachment-slug).
If you spot a bug, you can of course log it on [Github](https://github.com/seb86/attachment-slugs/issues)
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](https://wordpress.org/support/plugin/attachment-slug/reviews/?rate=5#postform)
and tell me what you think about the plugin.

**More information**

 * Other [WordPress plugins](https://profiles.wordpress.org/sebd86/) by [Sébastien Dumont](https://sebastiendumont.com/)
 * Contact Sébastien on Twitter: [@sebd86](http://twitter.com/sebd86)
 * If you’re a developer yourself, follow or contribute to the [Attachment Slugs plugin on GitHub](https://github.com/seb86/attachment-slugs)

## Ảnh màn hình

 * [[
 * Attachment permalink settings

## Cài đặt

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.

## Đánh giá

![](https://secure.gravatar.com/avatar/6b4b8b3bd88a4546b8b9121e49ac8829cacb6449a8bea5861baf048226a6a58d?
s=60&d=retro&r=g)

### 󠀁[Great plugin](https://wordpress.org/support/topic/great-plugin-36893/)󠁿

 [sahdevsinh](https://profiles.wordpress.org/sahdevsinh/) 23 Tháng 5, 2023

It’s great plugin for add slug for attachment

![](https://secure.gravatar.com/avatar/79bc446c792ba850eee5f7c9b140dc3a2d1cb9cd4494375c0d253c98b534c208?
s=60&d=retro&r=g)

### 󠀁[incredible, been wanting this for a decade!](https://wordpress.org/support/topic/incredible-been-wanting-this-for-a-decade/)󠁿

 [Israel Curtis](https://profiles.wordpress.org/somatic/) 31 Tháng 3, 2020 2 trả
lời

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

![](https://secure.gravatar.com/avatar/1082e95ef7ba8715eca5234e370950565ef4c685c5b44bf1ed8f875c14620d6c?
s=60&d=retro&r=g)

### 󠀁[its so Good. work well](https://wordpress.org/support/topic/its-so-good-work-well/)󠁿

 [amareza98](https://profiles.wordpress.org/amareza98/) 5 Tháng 12, 2018 4 trả lời

thanks you for this plugin. متشکرم از اینکهداین افزونه ذو ساختید. در وقتم صرفه جویی
کرد و بخوبی کار کرد.

 [ Đọc tất cả 3 đánh giá ](https://wordpress.org/support/plugin/attachment-slug/reviews/)

## Người đóng góp & Lập trình viên

“Attachment Slugs for WordPress” là mã nguồn mở. Những người sau đã đóng góp vào
plugin này.

Những người đóng góp

 *   [ Sébastien Dumont ](https://profiles.wordpress.org/sebd86/)

“Attachment Slugs for WordPress” đã được dịch qua 1 ngôn ngữ. Cảm ơn [những người tham gia dịch](https://translate.wordpress.org/projects/wp-plugins/attachment-slug/contributors)
vì đóng góp của họ.

[Dịch “Attachment Slugs for WordPress” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/attachment-slug)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/attachment-slug/), check
out [SVN repository](https://plugins.svn.wordpress.org/attachment-slug/), hoặc theo
dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/attachment-slug/)
qua [RSS](https://plugins.trac.wordpress.org/log/attachment-slug/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 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. ⚠️

## Meta

 *  Phiên bản **2.0.0**
 *  Cập nhật lần cuối **3 năm trước**
 *  Số lượt cài đặt **100+**
 *  Phiên bản WordPress ** 4.4 hoặc cao hơn **
 *  Đã kiểm tra lên đến **6.1.10**
 *  Phiên bản PHP ** 5.6 hoặc cao hơn **
 *  Ngôn ngữ
 * [Chinese (Taiwan)](https://tw.wordpress.org/plugins/attachment-slug/) và [English (US)](https://wordpress.org/plugins/attachment-slug/).
 *  [Dịch sang ngôn ngữ của bạn](https://translate.wordpress.org/projects/wp-plugins/attachment-slug)
 * Thẻ
 * [attachment](https://vi.wordpress.org/plugins/tags/attachment/)[attachment slug](https://vi.wordpress.org/plugins/tags/attachment-slug/)
   [attachments](https://vi.wordpress.org/plugins/tags/attachments/)[page slug](https://vi.wordpress.org/plugins/tags/page-slug/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/attachment-slug/advanced/)

## Đánh giá

 5 trên 5 sao.

 *  [  3 5-star reviews     ](https://wordpress.org/support/plugin/attachment-slug/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/attachment-slug/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/attachment-slug/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/attachment-slug/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/attachment-slug/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/attachment-slug/reviews/#new-post)

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/attachment-slug/reviews/)

## Những người đóng góp

 *   [ Sébastien Dumont ](https://profiles.wordpress.org/sebd86/)

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/attachment-slug/)

## Ủng hộ

Bạn có muốn hỗ trợ vào sự phát triển của plugin này?

 [ Ủng hộ plugin này ](https://www.buymeacoffee.com/sebastien)