<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Multipul domain for WordPress &#8220;PS WP Multi Domain&#8221; へのコメント</title>
	<atom:link href="http://www.web-strategy.jp/wp_plugin/ps-wp-multi-domain/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.web-strategy.jp/wp_plugin/ps-wp-multi-domain/</link>
	<description>プライム・ストラテジー</description>
	<lastBuildDate>Thu, 16 May 2013 01:27:23 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Shiro より</title>
		<link>http://www.web-strategy.jp/wp_plugin/ps-wp-multi-domain/comment-page-1/#comment-895</link>
		<dc:creator>Shiro</dc:creator>
		<pubDate>Thu, 25 Mar 2010 02:04:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.web-strategy.jp/wp_plugin/ps-wp-multi-domain/#comment-895</guid>
		<description>Konnichiwa~
I share my code which is work for multi domain, and with different port.
I tested.

//wp_multi_domain_start
$protocal = ((isset($_SERVER[&#039;HTTPS&#039;]) &amp;&amp; $_SERVER[&#039;HTTPS&#039;] == &quot;on&quot;) ? &quot;https&quot; : &quot;http&quot;);
$http_host = &quot;://&quot;.$_SERVER[&#039;HTTP_HOST&#039;];
$directory_path = str_replace(basename($_SERVER[&#039;SCRIPT_NAME&#039;]),&quot;&quot;,$_SERVER[&#039;SCRIPT_NAME&#039;]);
$wp_admin_path = &#039;/wp-admin/&#039;;
if(preg_match(&#039;/\/wp-admin\//i&#039;, $directory_path))
{
	$directory_path = str_replace($wp_admin_path, &#039;&#039;, $directory_path);
	$url = $protocal.$http_host.$directory_path;
}
else
{
	$directory_path = substr_replace($directory_path ,&quot;&quot;,-1); //remove the last forward slash
	$url = $protocal.$http_host.$directory_path;
}

define( &#039;WP_SITEURL&#039;,$url );
define( &#039;WP_HOME&#039;,$url);
//wp_multi_domain_end

Please comment on it. Many thx.</description>
		<content:encoded><![CDATA[<p>Konnichiwa~<br />
I share my code which is work for multi domain, and with different port.<br />
I tested.</p>
<p>//wp_multi_domain_start<br />
$protocal = ((isset($_SERVER['HTTPS']) &amp;&amp; $_SERVER['HTTPS'] == &#8220;on&#8221;) ? &#8220;https&#8221; : &#8220;http&#8221;);<br />
$http_host = &#8220;://&#8221;.$_SERVER['HTTP_HOST'];<br />
$directory_path = str_replace(basename($_SERVER['SCRIPT_NAME']),&#8221;",$_SERVER['SCRIPT_NAME']);<br />
$wp_admin_path = &#8216;/wp-admin/&#8217;;<br />
if(preg_match(&#8216;/\/wp-admin\//i&#8217;, $directory_path))<br />
{<br />
	$directory_path = str_replace($wp_admin_path, &#8221;, $directory_path);<br />
	$url = $protocal.$http_host.$directory_path;<br />
}<br />
else<br />
{<br />
	$directory_path = substr_replace($directory_path ,&#8221;",-1); //remove the last forward slash<br />
	$url = $protocal.$http_host.$directory_path;<br />
}</p>
<p>define( &#8216;WP_SITEURL&#8217;,$url );<br />
define( &#8216;WP_HOME&#8217;,$url);<br />
//wp_multi_domain_end</p>
<p>Please comment on it. Many thx.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Shiro より</title>
		<link>http://www.web-strategy.jp/wp_plugin/ps-wp-multi-domain/comment-page-1/#comment-894</link>
		<dc:creator>Shiro</dc:creator>
		<pubDate>Wed, 24 Mar 2010 10:24:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.web-strategy.jp/wp_plugin/ps-wp-multi-domain/#comment-894</guid>
		<description>I think 
$_SERVER[&#039;SERVER_NAME&#039;]
should change to
$_SERVER[&#039;HTTP_HOST&#039;]
because
$_SERVER[&#039;HTTP_HOST&#039;] include the port no.</description>
		<content:encoded><![CDATA[<p>I think<br />
$_SERVER['SERVER_NAME']<br />
should change to<br />
$_SERVER['HTTP_HOST']<br />
because<br />
$_SERVER['HTTP_HOST'] include the port no.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Shiro より</title>
		<link>http://www.web-strategy.jp/wp_plugin/ps-wp-multi-domain/comment-page-1/#comment-893</link>
		<dc:creator>Shiro</dc:creator>
		<pubDate>Wed, 24 Mar 2010 09:33:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.web-strategy.jp/wp_plugin/ps-wp-multi-domain/#comment-893</guid>
		<description>How about support for different port,because my website not host using port 80, any solution?</description>
		<content:encoded><![CDATA[<p>How about support for different port,because my website not host using port 80, any solution?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Multi-domain for wordpress site &#124; Thế giới mã nguồn より</title>
		<link>http://www.web-strategy.jp/wp_plugin/ps-wp-multi-domain/comment-page-1/#comment-856</link>
		<dc:creator>Multi-domain for wordpress site &#124; Thế giới mã nguồn</dc:creator>
		<pubDate>Thu, 18 Mar 2010 10:28:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.web-strategy.jp/wp_plugin/ps-wp-multi-domain/#comment-856</guid>
		<description>[...] Để 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 [...]</description>
		<content:encoded><![CDATA[<p>[...] Để 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 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>David より</title>
		<link>http://www.web-strategy.jp/wp_plugin/ps-wp-multi-domain/comment-page-1/#comment-476</link>
		<dc:creator>David</dc:creator>
		<pubDate>Mon, 11 Jan 2010 13:23:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.web-strategy.jp/wp_plugin/ps-wp-multi-domain/#comment-476</guid>
		<description>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 www.domain1.com to root directory and traffic from www.domin2.com to directory root/english/  IS it possible?
Thank you,
David</description>
		<content:encoded><![CDATA[<p>Hello,<br />
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 <a href="http://www.domain1.com" rel="nofollow">http://www.domain1.com</a> to root directory and traffic from <a href="http://www.domin2.com" rel="nofollow">http://www.domin2.com</a> to directory root/english/  IS it possible?<br />
Thank you,<br />
David</p>
]]></content:encoded>
	</item>
	<item>
		<title>プライム・ストラテジースタッフ より</title>
		<link>http://www.web-strategy.jp/wp_plugin/ps-wp-multi-domain/comment-page-1/#comment-179</link>
		<dc:creator>プライム・ストラテジースタッフ</dc:creator>
		<pubDate>Mon, 27 Jul 2009 09:09:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.web-strategy.jp/wp_plugin/ps-wp-multi-domain/#comment-179</guid>
		<description>&gt;&gt;Mike
This plugin is for test or developlment use.
You have to map another domain for yourself when use it.

&gt;&gt;Nigel
Sorry, it&#039;s under construction. But usage of this plugin is very simple.
Just activate...that&#039;s it.
Plz look at also WordPress official page.
&lt;a href=&quot;http://wordpress.org/extend/plugins/ps-wp-multi-domain/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;WordPress › PS WP Multi Domain « WordPress Plugins&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>>>Mike<br />
This plugin is for test or developlment use.<br />
You have to map another domain for yourself when use it.</p>
<p>>>Nigel<br />
Sorry, it&#8217;s under construction. But usage of this plugin is very simple.<br />
Just activate&#8230;that&#8217;s it.<br />
Plz look at also WordPress official page.<br />
<a href="http://wordpress.org/extend/plugins/ps-wp-multi-domain/" target="_blank" rel="nofollow">WordPress › PS WP Multi Domain « WordPress Plugins</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Nigel より</title>
		<link>http://www.web-strategy.jp/wp_plugin/ps-wp-multi-domain/comment-page-1/#comment-178</link>
		<dc:creator>Nigel</dc:creator>
		<pubDate>Tue, 21 Jul 2009 10:56:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.web-strategy.jp/wp_plugin/ps-wp-multi-domain/#comment-178</guid>
		<description>No english instructions explaining how to use?</description>
		<content:encoded><![CDATA[<p>No english instructions explaining how to use?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Mike より</title>
		<link>http://www.web-strategy.jp/wp_plugin/ps-wp-multi-domain/comment-page-1/#comment-172</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Fri, 03 Jul 2009 16:31:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.web-strategy.jp/wp_plugin/ps-wp-multi-domain/#comment-172</guid>
		<description>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.</description>
		<content:encoded><![CDATA[<p>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.</p>
<p>Any help is appreciated.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
