<?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>Comments on: Subdomains Timeout</title>
	<atom:link href="http://casualgenius.com/2009/11/04/subdomains-timeout/feed" rel="self" type="application/rss+xml" />
	<link>http://webdev.casualgenius.com/2009/11/04/subdomains-timeout</link>
	<description>The goings on of Alex Stansfield</description>
	<lastBuildDate>Wed, 18 Aug 2010 12:10:25 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: FaFa</title>
		<link>http://webdev.casualgenius.com/2009/11/04/subdomains-timeout/comment-page-1#comment-5041</link>
		<dc:creator>FaFa</dc:creator>
		<pubDate>Sat, 26 Jun 2010 04:36:12 +0000</pubDate>
		<guid isPermaLink="false">http://webdev.casualgenius.com/2009/11/04/subdomains-timeout#comment-5041</guid>
		<description>Hi! I have no options for category in WP 3.0

Plugin works almost 100%, this is the only one bug I found with this new release.</description>
		<content:encoded><![CDATA[<p>Hi! I have no options for category in WP 3.0</p>
<p>Plugin works almost 100%, this is the only one bug I found with this new release.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: streamingita</title>
		<link>http://webdev.casualgenius.com/2009/11/04/subdomains-timeout/comment-page-1#comment-3364</link>
		<dc:creator>streamingita</dc:creator>
		<pubDate>Tue, 16 Feb 2010 12:18:48 +0000</pubDate>
		<guid isPermaLink="false">http://webdev.casualgenius.com/2009/11/04/subdomains-timeout#comment-3364</guid>
		<description>Hello, I have the same issue as FaFa, did we get any update?

thanks!</description>
		<content:encoded><![CDATA[<p>Hello, I have the same issue as FaFa, did we get any update?</p>
<p>thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: FaFa</title>
		<link>http://webdev.casualgenius.com/2009/11/04/subdomains-timeout/comment-page-1#comment-2746</link>
		<dc:creator>FaFa</dc:creator>
		<pubDate>Fri, 01 Jan 2010 16:15:07 +0000</pubDate>
		<guid isPermaLink="false">http://webdev.casualgenius.com/2009/11/04/subdomains-timeout#comment-2746</guid>
		<description>MMM.. no answer yet...
I would like category_parent as subdomains and category_child as folder</description>
		<content:encoded><![CDATA[<p>MMM.. no answer yet&#8230;<br />
I would like category_parent as subdomains and category_child as folder</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sivvy</title>
		<link>http://webdev.casualgenius.com/2009/11/04/subdomains-timeout/comment-page-1#comment-2419</link>
		<dc:creator>Sivvy</dc:creator>
		<pubDate>Sat, 05 Dec 2009 06:57:20 +0000</pubDate>
		<guid isPermaLink="false">http://webdev.casualgenius.com/2009/11/04/subdomains-timeout#comment-2419</guid>
		<description>I was wondering if there&#039;s a plugin similar to this that works for DOMAINS not subdomains. I have 4 domains and WP is installed on one of them, so I don&#039;t want to have multiple installs of WP on 4 different domains if I work it like your subdomain addon.

Thanks.</description>
		<content:encoded><![CDATA[<p>I was wondering if there&#8217;s a plugin similar to this that works for DOMAINS not subdomains. I have 4 domains and WP is installed on one of them, so I don&#8217;t want to have multiple installs of WP on 4 different domains if I work it like your subdomain addon.</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Cox</title>
		<link>http://webdev.casualgenius.com/2009/11/04/subdomains-timeout/comment-page-1#comment-2336</link>
		<dc:creator>David Cox</dc:creator>
		<pubDate>Wed, 18 Nov 2009 21:17:54 +0000</pubDate>
		<guid isPermaLink="false">http://webdev.casualgenius.com/2009/11/04/subdomains-timeout#comment-2336</guid>
		<description>Great plugin. This certainly saved me a lot of work.

I&#039;m not sure if this has been addressed, but I recently downloaded version 0.6.6 and found one small bug. I implemented a fix that I hope you find useful as well.

I have a category named &#039;javascript&#039;. In that category there is a post titled something like &#039;Post about JavaScript&#039; and the slug is &#039;post-about-javascript&#039;.

On the category archive page (javascript.example.com), the link to that post is given as &#039;http://javascript.example.com/category/permalink/structure/post-about-&#039;. As you can see, it drops the &#039;javascript&#039;.

I have other posts titled like &#039;javascript-post&#039;, and those show up fine. After some tests I found that the plugin is finding &#039;javascript/&#039; and dropping it out of the href string.

Here&#039;s the fix that I implemented:

In the file &#039;wp-subdomains/plugin/classes.php&#039; go to the getCategoryPath() method in the WpsSubDomainCat class.

There are two if statements in the function. The first is used to construct the string that will be matched. The second is used to construct the replacement string.

I converted the first if statement to create a string with forward slashes (&#039;/&#039;) at the beginning and the end. The second if statement will create a string that is or ends with a forward slash (&#039;/&#039;).

Now, the function that performs the replacement will have to match the category name only if it&#039;s surrounded by shashes (&#039;/javascript/&#039;) an will replace it with a forward slash (&#039;/&#039;).

Now this link (&#039;http://javascript.example.com/category/permalink/structure/post-about-javascript/&#039;) and this link (&#039;http://javascript.example.com/category/permalink/structure/javascript-post/&#039;) work fine.

If you want to see the actual code I used, send me an email and I&#039;ll give it to you.</description>
		<content:encoded><![CDATA[<p>Great plugin. This certainly saved me a lot of work.</p>
<p>I&#8217;m not sure if this has been addressed, but I recently downloaded version 0.6.6 and found one small bug. I implemented a fix that I hope you find useful as well.</p>
<p>I have a category named &#8216;javascript&#8217;. In that category there is a post titled something like &#8216;Post about JavaScript&#8217; and the slug is &#8216;post-about-javascript&#8217;.</p>
<p>On the category archive page (javascript.example.com), the link to that post is given as &#8216;http://javascript.example.com/category/permalink/structure/post-about-&#8217;. As you can see, it drops the &#8216;javascript&#8217;.</p>
<p>I have other posts titled like &#8216;javascript-post&#8217;, and those show up fine. After some tests I found that the plugin is finding &#8216;javascript/&#8217; and dropping it out of the href string.</p>
<p>Here&#8217;s the fix that I implemented:</p>
<p>In the file &#8216;wp-subdomains/plugin/classes.php&#8217; go to the getCategoryPath() method in the WpsSubDomainCat class.</p>
<p>There are two if statements in the function. The first is used to construct the string that will be matched. The second is used to construct the replacement string.</p>
<p>I converted the first if statement to create a string with forward slashes (&#8216;/&#8217;) at the beginning and the end. The second if statement will create a string that is or ends with a forward slash (&#8216;/&#8217;).</p>
<p>Now, the function that performs the replacement will have to match the category name only if it&#8217;s surrounded by shashes (&#8216;/javascript/&#8217;) an will replace it with a forward slash (&#8216;/&#8217;).</p>
<p>Now this link (&#8216;http://javascript.example.com/category/permalink/structure/post-about-javascript/&#8217;) and this link (&#8216;http://javascript.example.com/category/permalink/structure/javascript-post/&#8217;) work fine.</p>
<p>If you want to see the actual code I used, send me an email and I&#8217;ll give it to you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Presidente</title>
		<link>http://webdev.casualgenius.com/2009/11/04/subdomains-timeout/comment-page-1#comment-2334</link>
		<dc:creator>Presidente</dc:creator>
		<pubDate>Wed, 18 Nov 2009 19:54:57 +0000</pubDate>
		<guid isPermaLink="false">http://webdev.casualgenius.com/2009/11/04/subdomains-timeout#comment-2334</guid>
		<description>I use this plugin and everything is OK. I understand you meaning:

You want, in other words - simplest-:

Category_Parent as Subdomain
Caterory_Child as Folder

subdomain.site.com/folder/title-post

Just checking the Subcategory box at Admin Panel.</description>
		<content:encoded><![CDATA[<p>I use this plugin and everything is OK. I understand you meaning:</p>
<p>You want, in other words &#8211; simplest-:</p>
<p>Category_Parent as Subdomain<br />
Caterory_Child as Folder</p>
<p>subdomain.site.com/folder/title-post</p>
<p>Just checking the Subcategory box at Admin Panel.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: FaFa</title>
		<link>http://webdev.casualgenius.com/2009/11/04/subdomains-timeout/comment-page-1#comment-2278</link>
		<dc:creator>FaFa</dc:creator>
		<pubDate>Thu, 05 Nov 2009 03:48:14 +0000</pubDate>
		<guid isPermaLink="false">http://webdev.casualgenius.com/2009/11/04/subdomains-timeout#comment-2278</guid>
		<description>Hi, I have the this issue,

I have:

category_parent
 category_child1
 category_child2
 category_child3

I would like my permalink (to the post) as following:
category_parent.site.com/category_child1/post-title

In the post if I choose just the category_child1 the subdomain with category_parent doesn&#039;t create and I get:

site.com/category_parent/category_child1/post-title

My permalink structure is /%category%/%postname%.html

To remove the category base (&quot;/category/&quot;) I have installed Top Level Categories plugin.

To create the subdomain I have to check category_parent and category_child1 but then my permalink is:

category_parent.site.com/post-title.html

My child category looks good (as permalink to the category):
category_parent.site.com/category_child1/

I want just select category_child1 in the post admin and the WP SUbdomains plugin take automatically the category_parent to create the subdomain.

Thanks.

This is one of my favorites plugins.</description>
		<content:encoded><![CDATA[<p>Hi, I have the this issue,</p>
<p>I have:</p>
<p>category_parent<br />
 category_child1<br />
 category_child2<br />
 category_child3</p>
<p>I would like my permalink (to the post) as following:<br />
category_parent.site.com/category_child1/post-title</p>
<p>In the post if I choose just the category_child1 the subdomain with category_parent doesn&#8217;t create and I get:</p>
<p>site.com/category_parent/category_child1/post-title</p>
<p>My permalink structure is /%category%/%postname%.html</p>
<p>To remove the category base (&#8220;/category/&#8221;) I have installed Top Level Categories plugin.</p>
<p>To create the subdomain I have to check category_parent and category_child1 but then my permalink is:</p>
<p>category_parent.site.com/post-title.html</p>
<p>My child category looks good (as permalink to the category):<br />
category_parent.site.com/category_child1/</p>
<p>I want just select category_child1 in the post admin and the WP SUbdomains plugin take automatically the category_parent to create the subdomain.</p>
<p>Thanks.</p>
<p>This is one of my favorites plugins.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
