Title: Custom Fields Permalink 2
Author: athlan
Published: <strong>2 Tháng 3, 2018</strong>
Last modified: 24 Tháng 10, 2018

---

Tìm kiếm plugin

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/custom-fields-permalink-redux/assets/icon.svg?rev=1859400)

# Custom Fields Permalink 2

 Bởi [athlan](https://profiles.wordpress.org/athlan/)

[Tải về](https://downloads.wordpress.org/plugin/custom-fields-permalink-redux.1.5.0.zip)

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

 [Hỗ trợ](https://wordpress.org/support/plugin/custom-fields-permalink-redux/)

## Mô tả

Plugin allows to use post’s custom fields values in permalink structure by adding`%
field_fieldname%` rewrite tag.

Examples:

 * `http://example.com/%field_event_date_from%/%postname%/`
 * `http://example.com/post-type/%field_event_date_from%/%postname%/` (with [Custom Post Type Permalinks](https://wordpress.org/plugins/custom-post-type-permalinks/)
   plugin)

You can also set different permalink structure depending on custom post type using
[Custom Post Type Permalinks](https://wordpress.org/plugins/custom-post-type-permalinks/)
plugin. You can create own post types by using [Custom Post Type UI](https://wordpress.org/plugins/custom-post-type-ui/)
plugin.

The plugin works for:

 * posts
 * pages
 * custom post types

Plugin is also available on GitHub:
 [https://github.com/athlan/wordpress-custom-fields-permalink-plugin](https://github.com/athlan/wordpress-custom-fields-permalink-plugin)

## Ảnh màn hình

 * [[
 * Pemralink settings
 * [[
 * Custom post types Pemralink settings

## Cài đặt

 * Install plugin in WordPress system in Plugins section. You can search for “Custom
   Fields Permalink 2”.
 * Done! Now you can use `%field_fieldname%` tag in Settings -> Permalinks.

## Hỏi đáp

  Found the bug. How to raise a ticket?

The best way is to raise the ticket under the GitHub repository:
 [https://github.com/athlan/wordpress-custom-fields-permalink-plugin/issues/new](https://github.com/athlan/wordpress-custom-fields-permalink-plugin/issues/new)

  I want to make a contribution

We would be very grateful in any contribution. If you have a idea for the feature,
please discuss it first by
 [raising the ticket](https://github.com/athlan/wordpress-custom-fields-permalink-plugin/issues/new).
When the assumptions are ready, please [make a pull request](https://github.com/athlan/wordpress-custom-fields-permalink-plugin/pulls)
at GitHub.

  How to generate missing custom post meta keys and values

In case of missing custom post field values you can generate them on-the-fly using
[`generate_dynamic_metadata`](https://github.com/athlan/wordpress-custom-fields-permalink-plugin/wiki/Plugin-hooks#generate_dynamic_metadata)
filter.

Read [the example](https://github.com/athlan/wordpress-custom-fields-permalink-plugin/wiki/FAQ#how-to-generate-missing-custom-post-meta-keys-and-values).

  How to generate calculated dynamic custom post meta keys and values

You can generate custom post fields dynamically coding some logic using [`generate_dynamic_metadata`](https://github.com/athlan/wordpress-custom-fields-permalink-plugin/wiki/Plugin-hooks#generate_dynamic_metadata)
filter.

Read [the example](https://github.com/athlan/wordpress-custom-fields-permalink-plugin/wiki/FAQ#how-to-generate-calculated-dynamic-custom-post-meta-keys-and-values).

## Đánh giá

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

### 󠀁[not working](https://wordpress.org/support/topic/not-working-3134/)󠁿

 [kirgizmustafa17](https://profiles.wordpress.org/kirgizmustafa17/) 6 Tháng 1, 2020
1 trả lời

I add MY_CUSTOM_FIELD to my post and I changed permalink setting like that /%MY_CUSTOM_FIELD%/%
postname%/ but it is not working

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

### 󠀁[Half works, half not](https://wordpress.org/support/topic/half-works-half-not/)󠁿

 [Gediminas](https://profiles.wordpress.org/gediminas10/) 19 Tháng 8, 2019 5 trả
lời

It would be a great plugin because only this one works for me with Custom Fields
tag. It gives the tag of Custom Field to generate permalink using most popular WP
Permalink plugins, but after successful permalink generation, when you click on 
it – there is an error because no post found. ACF Permalinks plugin, which is analog
of this one, works reversed – it doesn’t give Custom Field tag in the most popular
plugins, only in ones which don’t fit my needs. But the post is found after permalink
generation. WP version: 5.2.2

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

### 󠀁[It WORKS GREAT!](https://wordpress.org/support/topic/it-works-great-122/)󠁿

 [pablog](https://profiles.wordpress.org/pablogutierrez/) 15 Tháng 3, 2019

This plugin with “ACF Permalinks” is awesome! Thanks a lot.

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

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

 [cmabb](https://profiles.wordpress.org/cmabb/) 26 Tháng 10, 2018

🙂

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

### 󠀁[They said it couldn’t be done!](https://wordpress.org/support/topic/they-said-it-couldnt-be-done/)󠁿

 [mdwish](https://profiles.wordpress.org/mdwish/) 27 Tháng 3, 2018 1 trả lời

This plugin gives me the ability to add my ACF fields into permalinks. I realize
this is a pretty non-standard way to construct permalinks but in trying to create
ultra short permalinks, this saved me. Thanks so much. The only thing that would
make this better, is if I could leave the Post ID out of the permalink, but that’s
asking a lot.

 [ Đọc tất cả 5 đánh giá ](https://wordpress.org/support/plugin/custom-fields-permalink-redux/reviews/)

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

“Custom Fields Permalink 2” 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

 *   [ athlan ](https://profiles.wordpress.org/athlan/)

[Dịch “Custom Fields Permalink 2” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/custom-fields-permalink-redux)

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

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

## Nhật ký thay đổi

Release notes: https://github.com/athlan/wordpress-custom-fields-permalink-plugin/
releases

## Meta

 *  Phiên bản **1.5.0**
 *  Cập nhật lần cuối **8 năm trước**
 *  Số lượt cài đặt **600+**
 *  Phiên bản WordPress ** 4.5.0 hoặc cao hơn **
 *  Đã kiểm tra lên đến **5.0.25**
 *  Phiên bản PHP ** 5.3 hoặc cao hơn **
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/custom-fields-permalink-redux/)
 * Thẻ
 * [custom fields](https://vi.wordpress.org/plugins/tags/custom-fields/)[custom post types](https://vi.wordpress.org/plugins/tags/custom-post-types/)
   [permalink](https://vi.wordpress.org/plugins/tags/permalink/)[permalinks](https://vi.wordpress.org/plugins/tags/permalinks/)
   [url](https://vi.wordpress.org/plugins/tags/url/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/custom-fields-permalink-redux/advanced/)

## Đánh giá

 4.6 trên 5 sao.

 *  [  4 5-star reviews     ](https://wordpress.org/support/plugin/custom-fields-permalink-redux/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/custom-fields-permalink-redux/reviews/?filter=4)
 *  [  1 3-star review     ](https://wordpress.org/support/plugin/custom-fields-permalink-redux/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/custom-fields-permalink-redux/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/custom-fields-permalink-redux/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/custom-fields-permalink-redux/reviews/#new-post)

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/custom-fields-permalink-redux/reviews/)

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

 *   [ athlan ](https://profiles.wordpress.org/athlan/)

## 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/custom-fields-permalink-redux/)

## Ủ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 ](http://athlan.pl/wordpres-custom-fields-permalink-plugin/)