Title: Decategorizer
Author: Aesqe
Published: <strong>1 Tháng 7, 2008</strong>
Last modified: 26 Tháng 6, 2009

---

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/decategorizer.svg)

# Decategorizer

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

[Tải về](https://downloads.wordpress.org/plugin/decategorizer.zip)

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

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

## Mô tả

**THIS PLUGIN IS NOW OBSOLETE,PLEASE SWITCH TO
 [‘WP NO CATEGORY BASE’](https://wordpress.org/extend/plugins/wp-no-category-base/)
PLUGIN

**Go to http://skyphe.org/code/wordpress/decategorizer/ for the
 explanation, thanks!

“Decategorizer” will remove the category base from your category
 links, and turn
your category URLs from something like “http://yourdomain/category/news/” to “http://
yourdomain/news/”.

**Features:**

301 redirection for old category links added automatically;
 works with most permalink
structures (please e-mail me or leave a comment on plugin’s site if it doesn’t work
for you); you can safely use variables in your category URLs (http://yourdomain/
news/?var=val); sitemap plugins compatible; it works with multiple subcategory links(
http://yourdomain/categoryname/subcategoryname/subsubcategoryname/)

“Decategorizer” needs John Godley’s
 [‘Redirection’](http://urbangiraffe.com/plugins/redirection/)
plugin to work and it will disable itself if Redirection is not installed. Redirection
version 2.x. is recommended (Last tested with v2.1.9)

### More info

To see the end result before you decide to install, please
 visit [wordpress.skyphe.org](http://wordpress.skyphe.org)
and browse around. You’ll notice that no url contains “category” and still everything
works just fine.

I don’t think I’ve ever written a readme before. Is it full of
 spelling and grammar
errors? Too long? I suck at explaining how things work? Drop me an e-mail if something’s
bugging you about this text 🙂

### Plans for the next version?

(modified on February 10th 2009 at 11:36PM)

Make it a “Redirection” extending class – does that make any sense?
 Probably.

Or maybe move from “Redirection” completely and just write the values
 to the .htaccess
file?

Leave a comment here (WordPress forums) or on my site, or send me an
 e-mail if 
you would like to see something added to the plugin.

Thanks for reading this 🙂

## Cài đặt

 1. Place the whole ‘decategorizer’ folder into your wordpress’
     installation folder,
    under ‘wp-content\plugins’.
 2. Go to WordPress administration->plugins page and make sure that
     the plugin’s name(
    Decategorizer) is on the list, but do not activate it just yet.
 3. Install Urban Giraffe’s Redirection plugin the same way,
     if you haven’t already
    done so.
 4. Activate ‘Redirection’ plugin.
 5. If you haven’t had Redirection installed and used before now,
     go to Redirection
    plugin’s options page so its database tables can be created.
 6. Go back to the plugin management page and activate Decategorizer.
 7. You’re done.

## Đánh giá

Không có đánh giá nào cho plugin này.

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

“Decategorizer” 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

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

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

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

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

## Nhật ký thay đổi

#### 0.7.1.1

 * june 2nd 2009
 * small bugfix for subfolder installations

#### 0.7.1

 * may 30th 2009
 * additional options on the permalink settings page in admin.
 * now you can create a list of paths which will be ignored by the
    paging redirection(
   thanks Travis!) => _WORDPRESS 2.7 AND UP ONLY_

#### 0.6.3

 * may 17th 2009
 * fixed a bug with 301 redirections not respecting the user added
    text string 
   at the beginning of permalink structure

#### 0.6.2.3

 * may 17th 2009
 * minor code corrections
 * informational messages are no longer echoed, but saved to a log file
    to prevent
   headers already sent errors on add/edit post/category

#### 0.6.2

 * may 14th 2009
 * i _might_ have broken a few sites with that 0.6 version, so i’ll
    just apologize
   preemptively – sorry! 😐
 * version 0.6.2 is what version 0.6 was supposed to be
 * big thanks goes to westi for explaining the event sequence of
    “update_option_permalink_structure”
   hook

#### 0.6

 * may 11th 2009
 * fixed a bunch of bugs
 * plugin now correctly updates the redirections when permalink
    structure is updated,
   or deletes them when structure is empty
 * plugin now deletes the data it has created when it is deactivated
 * added support for custom strings in permalink structures,
    for example /articles/%
   postname%.html (thanks Dominic!).
 * i’ll be releasing another update soon – you’ll be able to
    choose whether you
   want the trailing slash or not in your permalinks, and also some other yum things.

#### 0.5.4.3

 * february 20th 2009
 * fixed the failing feed redirections for some permalink structures
    (thanks Ray!)
 * better description and tags in readme for Sphinx 🙂

#### 0.5.4.2

 * february 17th 2009
 * added exceptions if is_admin() or is_search()

#### 0.5.4

 * february 14th 2009
 * had to change the redirection regexes again, to make it possible
    for urls like/
   categoryname/subcategoryname/?var=value (thanks T4L!)

#### 0.5.3.2

 * february 13th 2009
 * changed redirection form from /cat_name/$ to
    ^/(optional subfolder install)/
   cat_name/$, so if the install is in a subfolder (eg. http://domain.com/wordpress),
   that subfolder is now included in all redirections, just to make it failsafe.
 * fixed failing home pagination in some cases (/HOME/page/2/) when
    wordpress is
   installed in a subdirectory.

#### 0.5.3.1

 * february 12th 2009
    fixed the randomly appearing slash at the end of category
   list when using ‘wp_list_categories’ function to print it

#### 0.5.3

 * february 10th 2009
 * changed category redirections into regexes and added $ (end of string)
    at the
   end of expressions to make sure it parses category URLs _only_.
 * also tested with wordpress MU 2.7 (and Redirection 2.1.7) and everything
    seems
   to work just fine 🙂

#### 0.5.2

 * october 31st 2008
 * minor code changes

#### 0.5.1

 * october 30th 2008
 * static homepage pagination
 * static posts page pagination fixed
 * 301 redirection for paginated category/tag archives with slugs including category_base

#### 0.5

 * october 26th 2008
 * Plugin will now automatically disable itself if “Redirection” is
    not installed/
   activated.
 * Added notifications on top of the admin screens.
 * Added 301 redirection for old permalinks containing /category_base/
    (thanks 
   Utilaje!).
 * Added support for permalinks without trailing slash (thanks PH!).
 * Redirections are now added when the plugin is activated, and on a
    few other 
   occasions (see bottom of plugin file for all the hooks).
 * Plugin no longer runs on each and every pageload. Hooray 🙂

#### 0.4

 * plugin now checks if redirection tables exist (d’oh) before
    starting to work.
   It also checks whether adding redirections is actually needed (if you have no
   child categories, for example). -> removed in 0.5 for compatibility reasons (‘/%
   postname%’ permalinks).

#### 0.3

 * added automatic creation of redirection rules.
    PLEASE NOTE: Although I’ve been
   testing the plugin for the past two hours, do try it at home first. REMINDER 
   TO SELF: addslashes(), INSERT, save your sanity…

#### 0.2.1

 * instead of setting back category_base to its default value,
    the current value
   is used, so one’s permalinks don’t get broken if they decide to deactivate the
   plugin. Sorry for that, current users :/ Please check your ‘category_base’ value.

#### 0.2

 * added the filter to ‘category_link’ as well. No more
    “/category/” in links when
   using “Google XML Sitemaps” and “Dagon Design Sitemap Generator” plugins 🙂

## Meta

 *  Phiên bản **0.7.1.2**
 *  Cập nhật lần cuối **17 năm trước**
 *  Số lượt cài đặt **10+**
 *  Phiên bản WordPress ** 2.5 hoặc cao hơn **
 *  Đã kiểm tra lên đến **2.8**
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/decategorizer/)
 * Thẻ
 * [category](https://vi.wordpress.org/plugins/tags/category/)[category base](https://vi.wordpress.org/plugins/tags/category-base/)
   [remove](https://vi.wordpress.org/plugins/tags/remove/)[remove category](https://vi.wordpress.org/plugins/tags/remove-category/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/decategorizer/advanced/)

## Đánh giá

Chưa có đánh giá nào được gửi.

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

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

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

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

## 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/decategorizer/)

## Ủ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://www.amazon.com/gp/registry/wishlist/1IU6F22QPQX2Y/)