<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SEO Web Design with Binh Nguyen &#187; category slug</title>
	<atom:link href="http://www.binh.name/t/category-slug/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.binh.name</link>
	<description>Freebies for SEO, Web design, computers, blogging</description>
	<lastBuildDate>Thu, 25 Jun 2009 21:40:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>How to Change WPMU Category Name or Slug</title>
		<link>http://www.binh.name/how-to-change-wpmu-category-name-or-slug/</link>
		<comments>http://www.binh.name/how-to-change-wpmu-category-name-or-slug/#comments</comments>
		<pubDate>Mon, 28 Apr 2008 19:13:29 +0000</pubDate>
		<dc:creator>Bình</dc:creator>
				<category><![CDATA[WP]]></category>
		<category><![CDATA[category name]]></category>
		<category><![CDATA[category slug]]></category>
		<category><![CDATA[wordpress mu]]></category>
		<category><![CDATA[WPMU category]]></category>

		<guid isPermaLink="false">http://www.binh.name/2008/04/29/how-to-change-wpmu-category-name-or-slug/</guid>
		<description><![CDATA[I tried to edit my WordPress MU Category information such as category name and category slug. What happened at first is that often the category entry is totally replaced by a Tag entry. Other times, the category record's new information is not saved at all. I troubleshot the problem and here is some temporary solution [...]]]></description>
			<content:encoded><![CDATA[<p>I tried to edit my <strong>WordPress MU Category</strong> information such as <em>category name</em> and <em>category slug</em>. What happened at first is that often the category entry is totally replaced by a Tag entry. Other times, the category record's new information is not saved at all. I troubleshot the problem and here is some temporary solution for a MySQL literate user.</p>
<h3>The problem</h3>
<p>When attempt to change category name or slug, the category ID is gone and replaced with a new number, which is the ID of an existing tag. The worst thing is that the old misplaced category record completely disappeared from both the blog and the Categories editor page.</p>
<p>This problem happens even when changing only category hierarchy (super &#038; sub category relationship). The replacement appear to be random. It doesn't replace with a Tag that has exactly the same slug. In fact, the category record is unchanged if the slug is the same as another category's lug or another tag's slug,
  </p>
<h4>Example 1</h4>
<table border="1" cellpadding="4" cellspacing="0">
<tr>
<td>&nbsp;</td>
<td><strong>Category ID</strong></td>
<td><strong>Category Name</strong></td>
<td><strong>Category Slug</strong></td>
</tr>
<tr>
<td>Old value</td>
<td>1</td>
<td>Official Log</td>
<td>log</td>
</tr>
<tr>
<td>New value</td>
<td>unchanged</td>
<td>Site Logs</td>
<td>logs</td>
</tr>
<tr>
<td>Result</td>
<td>50</td>
<td>PHP</td>
<td>php</td>
</tr>
</table>
<h4>Example 2</h4>
<table border="1" cellpadding="4" cellspacing="0">
<tr>
<td>&nbsp;</td>
<td><strong>Category ID</strong></td>
<td><strong>Category Name</strong></td>
<td><strong>Category Slug</strong></td>
</tr>
<tr>
<td>Old value</td>
<td>10</td>
<td>WordPress Themes</td>
<td>wp-themes</td>
</tr>
<tr>
<td>New value</td>
<td>unchanged</td>
<td>unchanged</td>
<td>themes</td>
</tr>
<tr>
<td>Result</td>
<td>49</td>
<td>Tweaks</td>
<td>tweaks</td>
</tr>
</table>
<h3>Safe Method to Modify WPMU Category</h3>
<p>I don't have a really good solution yet. At this time I've been hacking into the database to modify the slug value. You can follow the same steps too::</p>
<ol>
<li> Open phpMyAdmin for your WordPress MU Database</li>
<li>Browse table wp_#_terms (# is the number of the blog being modified)</li>
<li> Search existing term record that have <strong>slug</strong> the same as the slug value you want to give to that category. Modify that existing slug to something else, because it's a slug of a tag (not as important as your category).
  </li>
<li>Search for the category you want to modify. Change the values to what you want.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.binh.name/how-to-change-wpmu-category-name-or-slug/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 0.316 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2012-02-09 22:18:31 -->
<!-- Compression = gzip -->
