Multipul domain for WordPress “PS WP Multi Domain”



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.


Requires WordPress Version

2.6 or higher




  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”.



Version History

  • Public release


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


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


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






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


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


  • 一般公開



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


  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.

    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 to root directory and traffic from to directory root/english/ IS it possible?
    Thank you,

    コメント 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
    should change to
    $_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.

    $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;
    $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);

    Please comment on it. Many thx.

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

  9. It is a fact that so many divorce cases are logged in court due to only this cause.
    However there has been a lot misinformation and therefore misunderstanding about this media proclaimed ultimate
    wonder drug for men called Viagra and thus we want to see what exactly it does and does not do.

    The satibo had little or no effect when tried and I thought maybe it was a scam
    and should i bother.

    Feel free to surf to my web page :: buy tadalafil adelaide

    コメント by buy tadalafil adelaide
    2013 年 6 月 14 日 @ PM 7:47

  10. Thanks for any other wonderful article. The place else could anyone
    get that type of info in such an ideal way of
    writing? I have a presentation subsequent week, and I’m on the look for such information.

    コメント by best original comedy jokes satire funny videos commentary Plen Obama Palin no porn drugs sex Lohan Perry Facebook Glee wizards waverly Hannah Montanna Disney Michelle mac ibm Gomez fun idol news Obama Blago Girl Ron Paul YouTube parody hu first paris brit
    2013 年 7 月 12 日 @ AM 5:04

  11. Multipul domain for WordPress “PS WP Multi Domain” | WordPress Plugin for CMS

    コメント by gucci 手帳
    2013 年 7 月 21 日 @ PM 3:54

  12. We stumbled over here by a different web address and thought I may as well check things out.

    I like what I see so i am just following you. Look forward to looking over
    your web page repeatedly.

    コメント by Latest Tech News 2010
    2013 年 7 月 22 日 @ AM 9:17

  13. 優秀なブログ!私はあなたがこの記事を書いてで行った努力に感謝したいと思います。私も将来的にはあなたからの同じ最高の仕事を期待しています。私は、このウェブサイトに感謝したかった!共有していただきありがとうございます。素晴らしいウェブサイト!

    コメント by トリーバーチ 激安
    2013 年 10 月 6 日 @ AM 11:49

  14. I was using this plug-in.


    コメント by potentialbooksbook
    2014 年 4 月 27 日 @ PM 8:09

  15. We had a tricky site we needed to create. This did the trick! Thanks a lot.

    コメント by cogi-society
    2014 年 6 月 22 日 @ PM 7:59

  16. Just wish to say your article is as surprising. The clearness in your post is simply cool and i can assume you’re an expert
    on this subject. Fine with your permission allow me to grab your RSS feed to keep up to date with forthcoming
    post. Thanks a million and please carry on the rewarding work.

    コメント by
    2014 年 9 月 14 日 @ AM 9:23

Comment Form