Title: WP Permastructure
Author: Robert O'Rourke
Published: <strong>3 Tháng 9, 2012</strong>
Last modified: 26 Tháng 7, 2023

---

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://s.w.org/plugins/geopattern-icon/wp-permastructure.svg)

# WP Permastructure

 Bởi [Robert O’Rourke](https://profiles.wordpress.org/sanchothefat/)

[Tải về](https://downloads.wordpress.org/plugin/wp-permastructure.1.4.4.zip)

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

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

## Mô tả

In addition to controlling your custom post type permalinks this plugin adds support
for using custom taxonomies in your permalink structures as well.

Not only that but you can control the full permalink so the post type slug is not
required at the start of the link.

Multiple post types can use the same permalink structure.

#### Usage

There are 2 ways to use this plugin:

**Permalink Settings**

The plugin adds fields to the permalinks settings page for any public facing custom
post types.

**In Code**

When registering a post type you can add a value to the rewrite property with the
key ‘permastruct’ to define your default permalink structure.

eg:

    ```
    <?php

    register_post_type( 'my_type', array(
        ...
        'rewrite' => array(
            'permastruct' => '/%custom_taxonomy_name%/%author%/%postname%/'
        ),
        ...
    ) );

    ?>
    ```

## Ảnh màn hình

 * [[
 * The extended permalink settings panel

## Cài đặt

 1. You can install the plugin using the auto-install tool from the WordPress back-
    end.
 2. To manually install, upload the folder `/wp-permastructure/` to `/wp-content/plugins/`
    directory.
 3. Activate the plugin through the ‘Plugins’ menu in WordPress
 4. You should now see input boxes for any custom post types you have on the permalink
    settings page

## Hỏi đáp

None so far.

## Đánh giá

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

### 󠀁[Finally a plugin that does this](https://wordpress.org/support/topic/finally-a-plugin-that-does-this/)󠁿

 [rimkashox](https://profiles.wordpress.org/rimkashox/) 2 Tháng 5, 2017

Thanks, finally a plugin that adds the ability to add custom permalinks with %you-
own-category% for custom post types.

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

### 󠀁[After deactivating plugin, website is broken -> No support](https://wordpress.org/support/topic/after-deactivating-plugin-website-is-broken-no-support/)󠁿

 [Markgoessens](https://profiles.wordpress.org/markgoessens/) 3 Tháng 9, 2016 1 
trả lời

The plugin did not what I expected. I decided to deactivate the plugin. After that,
every page gave a 404 error. When I asked for support, a few months ago, I didn’t
receive any reaction. So my advice, think twice before installing this plugin

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

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

 [fracart](https://profiles.wordpress.org/fracart/) 3 Tháng 9, 2016

Exactly what I needed thanks !

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

### 󠀁[We were about from the craziness but …….](https://wordpress.org/support/topic/we-were-about-from-the-craziness-but/)󠁿

 [loorlab](https://profiles.wordpress.org/loorlab/) 11 Tháng 6, 2017

We found an easy solution in this plugin. GREAT ! God bless you

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

### 󠀁[AWESOME](https://wordpress.org/support/topic/awesome-3544/)󠁿

 [KaiStone](https://profiles.wordpress.org/kaistone/) 3 Tháng 9, 2016

OMG, your plugin is awesome 😀 thank you so much for this excellent plugin

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

### 󠀁[works for CPTs](https://wordpress.org/support/topic/works-for-cpts/)󠁿

 [nicmare](https://profiles.wordpress.org/nicmare/) 3 Tháng 9, 2016

this is the only way/plugin/code which works for me. thank you very much!!

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

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

“WP Permastructure” 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

 *   [ Robert O’Rourke ](https://profiles.wordpress.org/sanchothefat/)
 *   [ interconnectit ](https://profiles.wordpress.org/interconnectit/)

[Dịch “WP Permastructure” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/wp-permastructure)

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

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

## Nhật ký thay đổi

 * 1.4.3: Remove `create_function` calls
 * 1.4: Handles sample filters without the need for the get post call
 * 1.3: Added permalink sanitisation function, current one incorrectly truncated
   placeholders
 * 1.2: Fixed attachment URL rewrites, fixed edge case where permastruct is %postname%
   only
 * 1.1: Fixed problem with WP walk_dirs and using %category% in permalink – overly
   greedy match
 * 1.0: Initial import

## Meta

 *  Phiên bản **1.4.4**
 *  Cập nhật lần cuối **3 năm trước**
 *  Số lượt cài đặt **400+**
 *  Phiên bản WordPress ** 3.3 hoặc cao hơn **
 *  Đã kiểm tra lên đến **6.3.8**
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/wp-permastructure/)
 * Thẻ
 * [custom post types](https://vi.wordpress.org/plugins/tags/custom-post-types/)
   [Custom Taxonomies](https://vi.wordpress.org/plugins/tags/custom-taxonomies/)
   [permalinks](https://vi.wordpress.org/plugins/tags/permalinks/)[rewrite rules](https://vi.wordpress.org/plugins/tags/rewrite-rules/)
   [urls](https://vi.wordpress.org/plugins/tags/urls/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/wp-permastructure/advanced/)

## Đánh giá

 4.3 trên 5 sao.

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

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

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

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

 *   [ Robert O’Rourke ](https://profiles.wordpress.org/sanchothefat/)
 *   [ interconnectit ](https://profiles.wordpress.org/interconnectit/)

## 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/wp-permastructure/)

## Ủ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://interconnectit.com/)