Title: bbRedirector
Author: BjornW
Published: <strong>24 Tháng 11, 2009</strong>
Last modified: 24 Tháng 11, 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/bbredirector.svg)

# bbRedirector

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

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

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

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

## Mô tả

> DO NOT USE THIS PLUGIN!
>  It is outdated, not maintained and frankly there are 
> better plugins to use.

bbRedirector makes it easy to redirect a page to another location using absolute
urls from within WordPress.
 No mod_rewrite nor .htaccess is needed. You just create
a page, add a specific customfield and choose the redirect template included with
this plugin. It even allows you to set the required http status code (302 or 301).
You can also set a default sitewide redirection or setup your own custom redirection.

The included templates should give you an easy start using this plugin.

Feature requests? Remarks? Questions? Patches?
 [Feel free to contact me](http://www.burobjorn.nl).

## Ảnh màn hình

[⌊The bbRedirector settings screen.⌉⌊The bbRedirector settings screen.⌉[

The bbRedirector settings screen.

[⌊This screenshot shows how to setup a page to use a redirect template using the
same method as the general installation instructions.⌉⌊This screenshot shows how
to setup a page to use a redirect template using the same method as the general 
installation instructions.⌉[

This screenshot shows how to setup a page to use a redirect template using the same
method as the general installation instructions.

## Cài đặt

 1. Upload the bbRedirector directory to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Place the bbredirector-page-template-metakey.php in your templates’ directory e.
    g. `/wp-content/themes/default/`
 4. Create a Page.
 5. Add a customfield with the name redirect_url and as a value a full url e.g. http://
    www.burobjorn.nl
 6. Select the page template ‘Page Redirect Meta’
 7. Publish the created Page and check if the page redirects to url you entered.

## Hỏi đáp

  Installation Instructions

 1. Upload the bbRedirector directory to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Place the bbredirector-page-template-metakey.php in your templates’ directory e.
    g. `/wp-content/themes/default/`
 4. Create a Page.
 5. Add a customfield with the name redirect_url and as a value a full url e.g. http://
    www.burobjorn.nl
 6. Select the page template ‘Page Redirect Meta’
 7. Publish the created Page and check if the page redirects to url you entered.

  Will this plugin work on WP MU?

Yes, it should work, but the settings are on a per blog base. So you need install
and set it up per blog.

  How can I setup default redirection location for all pages?

 1. Add bbredirector-page-template-default.php template page to your themes’ directory
    e.g. `/wp-content/themes/default`
 2. Change the Settings of the bbRedirector plugin according to your wishes
 3. For every page you want to use the default redirection, select the page template`
    Page Redirect Default`

Tip: You can add all the supplied page template examples to your themes’ directory
and select the one you need on a per page base

  How can I setup redirection for a page without customfields?

I presume you know a bit about PHP and know how to create WordPress templates? Otherwise
I would not recommend doing this.

 1. Add bbredirector-page-template-custom.php template page to your themes’ directory
    e.g. `/wp-content/themes/default`
 2. Change the arguments in the code of the template according to your wishes
 3. For every page you want to redirect to this ‘hardcoded’ url, select the page template`
    Page Redirect Custom`

Tip: You can add all the supplied page template examples to your themes’ directory
and select the one you need on a per page base

  I get an empty or white page?

 * If you use the bbredirector-page-template-default, make sure the allow default
   redirection option is ticked when using the default template.
    - If you’ve created your own page template, make sure no characters including
      whitespace are left over calling the bbrd_redirect() function.
    - Check if the url contains any whitespace or weird characters.

  Can you tell me a bit more about the details?

The plugin uses ‘cascading redirection’ e.g. it first checks if a redirect url was
given as parameter and uses this.
 If no redirect url parameter was found, it checks
if a page id parameter was supplied. If a page id was found it uses a metakey (by
default redirect_url) and the page’s id to check for a redirection url in the custom
field of the page. If none was found or no page id was given the plugin checks if‘
allowed to use the default redirection’ is enabled(default). If it is enabled it
will use the redirection url set in the plugin settings, which by default is the
site url set in the WordPress settings. If ‘allowed to use the default redirection’
was disabled the redirection will fail silently and return a boolean false.

Due to the ‘cascading redirection’ it is easy to create different type of templates,
as you can see in the supplied example
 templates.

## Đánh giá

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

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

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

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

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

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

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

## Nhật ký thay đổi

#### 1.0

 * Plugin was made availble

## Meta

 *  Phiên bản **1.0**
 *  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.7 hoặc cao hơn **
 *  Đã kiểm tra lên đến **2.8.6**
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/bbredirector/)
 * Thẻ
 * [page](https://vi.wordpress.org/plugins/tags/page/)[redirect](https://vi.wordpress.org/plugins/tags/redirect/)
   [redirection](https://vi.wordpress.org/plugins/tags/redirection/)[wordpress MU](https://vi.wordpress.org/plugins/tags/wordpress-mu/)
   [wpmu](https://vi.wordpress.org/plugins/tags/wpmu/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/bbredirector/advanced/)

## Đánh giá

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

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

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

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

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

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

## Ủ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://burobjorn.nl/)