Multipul domain for WordPress “PS WP Multi Domain”

ps_wp_muti_domain

Description

This plugin rewrite “wp-config.php” to enable access multiple domain.It will be great help to link check of your WordPress site or mirroring for test.

Functions

Requires WordPress Version

2.6 or higher

Download

Download(10.9KB)

Install

  1. Download from link above.
  2. Unzip the downloaded package and upload into your WordPress plugins directory.
    If you use WordPress 2.7 or later, you can install from admin page.
  3. Go to plugins list and activate “PS WP Multi Domain”.

Usage

FAQ

Version History

0.8.0
  • Public release

Contact

If you have any request, question, feedback or found a bug, please contact us from comment form below.

プラグイン概要

PS WP Multi Domainは、オンデマンド方式で複数のドメインからのアクセスを可能にします。

機能

  • マルチドメインによるアクセス

動作環境

WordPress2.6以上

ダウンロード

ダウンロード(10.9KB)

インストール方法

  1. 上記よりダウンロードしてください。
  2. 解凍して、WordPressのプラグインディレクトリにアップロードします。
    もしくは、バージョン2.7以上であれば、管理画面のプラグイン > 新規追加 より、インストールをすることも可能です。
  3. プラグイン > インストール済み のリストからPS Custom fields Revisionを使用中にしてください。

ご利用方法

  • プラグインを有効にすると、wp-config.phpを書き換えます。
  • wp-config.phpの書き込み権限がない場合は有効になりません。
  • プラグイン停止時には、wp-config.phpを元に戻します。

バージョン・更新履歴

0.8.0
(2009.2.24)
  • 一般公開

ご質問・ご感想等

不具合・ご質問・ご要望や感想などありましたら、コメントフォームよりお寄せください。

※ 不具合の報告は、サーバOS、PHPのバージョン、WordPressのバージョン、併用しているプラグイン、ブラウザ名およびバージョンなどを併記いただけると助かります。

Comments

  1. Hello, I want to use this plugin on our mu wordpress site. We are not using subdomains and when I install this I cannot figure out how to actually map the domains.

    Any help is appreciated.

    コメント by Mike
    2009 年 7 月 4 日 @ AM 1:31

  2. No english instructions explaining how to use?

    コメント by Nigel
    2009 年 7 月 21 日 @ PM 7:56

  3. >>Mike
    This plugin is for test or developlment use.
    You have to map another domain for yourself when use it.

    >>Nigel
    Sorry, it’s under construction. But usage of this plugin is very simple.
    Just activate…that’s it.
    Plz look at also WordPress official page.
    WordPress › PS WP Multi Domain « WordPress Plugins

    コメント by プライム・ストラテジースタッフ
    2009 年 7 月 27 日 @ PM 6:09

  4. Hello,
    thank you for great plugin. It is working fine. But it is possible to use each domain on different directory? For example I want to force trarfic from http://www.domain1.com to root directory and traffic from http://www.domin2.com to directory root/english/ IS it possible?
    Thank you,
    David

    コメント by David
    2010 年 1 月 11 日 @ PM 10:23

  5. [...] Để khắc phục vấn đề này chúng ta có thể sử dụng 1 plugin có tên PS WP Multi Domain (download tại đây). Hoặc đơn giản hơn là sửa ngay file wp-config.php. Sửa bằng cách thêm 2 câu lệnh sau vào trong file w [...]

    ピンバック by Multi-domain for wordpress site | Thế giới mã nguồn
    2010 年 3 月 18 日 @ PM 7:28

  6. How about support for different port,because my website not host using port 80, any solution?

    コメント by Shiro
    2010 年 3 月 24 日 @ PM 6:33

  7. I think
    $_SERVER['SERVER_NAME']
    should change to
    $_SERVER['HTTP_HOST']
    because
    $_SERVER['HTTP_HOST'] include the port no.

    コメント by Shiro
    2010 年 3 月 24 日 @ PM 7:24

  8. Konnichiwa~
    I share my code which is work for multi domain, and with different port.
    I tested.

    //wp_multi_domain_start
    $protocal = ((isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == “on”) ? “https” : “http”);
    $http_host = “://”.$_SERVER['HTTP_HOST'];
    $directory_path = str_replace(basename($_SERVER['SCRIPT_NAME']),”",$_SERVER['SCRIPT_NAME']);
    $wp_admin_path = ‘/wp-admin/’;
    if(preg_match(‘/\/wp-admin\//i’, $directory_path))
    {
    $directory_path = str_replace($wp_admin_path, ”, $directory_path);
    $url = $protocal.$http_host.$directory_path;
    }
    else
    {
    $directory_path = substr_replace($directory_path ,”",-1); //remove the last forward slash
    $url = $protocal.$http_host.$directory_path;
    }

    define( ‘WP_SITEURL’,$url );
    define( ‘WP_HOME’,$url);
    //wp_multi_domain_end

    Please comment on it. Many thx.

    コメント by Shiro
    2010 年 3 月 25 日 @ AM 11:04

Comment Form