<?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"
	>
<channel>
	<title>Comments on: Updating Obsolete URLs in 10 Easy Steps</title>
	<atom:link href="http://www.seaslugteam.com/archives/2008/02/13/updating-obsolete-urls-in-10-easy-steps/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.seaslugteam.com/archives/2008/02/13/updating-obsolete-urls-in-10-easy-steps/</link>
	<description>Just Had The Pineapple Cake In Hawaii</description>
	<pubDate>Thu, 28 Aug 2008 02:35:51 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
		<item>
		<title>By: Kabitzin</title>
		<link>http://www.seaslugteam.com/archives/2008/02/13/updating-obsolete-urls-in-10-easy-steps/#comment-68918</link>
		<dc:creator>Kabitzin</dc:creator>
		<pubDate>Wed, 13 Feb 2008 15:36:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.seaslugteam.com/archives/2008/02/13/updating-obsolete-urls-in-10-easy-steps/#comment-68918</guid>
		<description>I've updated the tutorial with input from Randall and my experience through literally going through the process step by step with Owen on IRC.  I'm glad to hear that it has already been helpful to someone.

Also, note that if you are making backups through SQL exports, you need to be sure that you are using UTF-8.  If you notice your queries in search have some code talking about converting to latin-1, you probably need to &lt;a href="http://www.seaslugteam.com/archives/2007/09/03/now-with-more-utf/" rel="nofollow"&gt;convert your database to UTF-8&lt;/a&gt;.  Without the conversion, your outputted SQL for your backup may be messed up (so you should make a backup of the actual database file instead).</description>
		<content:encoded><![CDATA[<p>I&#8217;ve updated the tutorial with input from Randall and my experience through literally going through the process step by step with Owen on IRC.  I&#8217;m glad to hear that it has already been helpful to someone.</p>
<p>Also, note that if you are making backups through SQL exports, you need to be sure that you are using UTF-8.  If you notice your queries in search have some code talking about converting to latin-1, you probably need to <a href="http://www.seaslugteam.com/archives/2007/09/03/now-with-more-utf/" rel="nofollow">convert your database to UTF-8</a>.  Without the conversion, your outputted SQL for your backup may be messed up (so you should make a backup of the actual database file instead).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lolikitsune</title>
		<link>http://www.seaslugteam.com/archives/2008/02/13/updating-obsolete-urls-in-10-easy-steps/#comment-68914</link>
		<dc:creator>lolikitsune</dc:creator>
		<pubDate>Wed, 13 Feb 2008 13:48:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.seaslugteam.com/archives/2008/02/13/updating-obsolete-urls-in-10-easy-steps/#comment-68914</guid>
		<description>Thanks, Kabitzin and Randall! I recently changed my site's forum software, which changed the URL format for linking to topics. I didn't know how to search and replace in phpmyadmin so I was going through my main site posts correcting URLs one by one.

Anyway, I'm done now, and in a flash. Backing up the database took more time and energy than fixing all the links! Thanks again!</description>
		<content:encoded><![CDATA[<p>Thanks, Kabitzin and Randall! I recently changed my site&#8217;s forum software, which changed the URL format for linking to topics. I didn&#8217;t know how to search and replace in phpmyadmin so I was going through my main site posts correcting URLs one by one.</p>
<p>Anyway, I&#8217;m done now, and in a flash. Backing up the database took more time and energy than fixing all the links! Thanks again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kabitzin</title>
		<link>http://www.seaslugteam.com/archives/2008/02/13/updating-obsolete-urls-in-10-easy-steps/#comment-68913</link>
		<dc:creator>Kabitzin</dc:creator>
		<pubDate>Wed, 13 Feb 2008 07:08:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.seaslugteam.com/archives/2008/02/13/updating-obsolete-urls-in-10-easy-steps/#comment-68913</guid>
		<description>Randall, I am running through this right now with Owen, and I think you might have a point.  This method works well for fields that have just a line of text (e.g. post_author_url), but not as well for post_content.  The SQL query you ran is similar to what I did in correcting gibberish characters (due to the UTF-8 conversion that had hiccups), so I may rework this tutorial a bit... once I have finished experimenting on Owen's guinea pig blog =D.

We ended up using:

 &lt;code&gt;UPDATE wp_posts SET post_content = REPLACE (post_content, 'sorenara.ikimashou.net','omaemo.dasaku.net');&lt;/code&gt; 

and 

&lt;code&gt;UPDATE wp_comments SET comment_author_url = REPLACE (comment_author_url, 'sorenara.ikimashou.net','omaemo.dasaku.net');&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Randall, I am running through this right now with Owen, and I think you might have a point.  This method works well for fields that have just a line of text (e.g. post_author_url), but not as well for post_content.  The SQL query you ran is similar to what I did in correcting gibberish characters (due to the UTF-8 conversion that had hiccups), so I may rework this tutorial a bit&#8230; once I have finished experimenting on Owen&#8217;s guinea pig blog =D.</p>
<p>We ended up using:</p>
<p> <code>UPDATE wp_posts SET post_content = REPLACE (post_content, 'sorenara.ikimashou.net','omaemo.dasaku.net');</code> </p>
<p>and </p>
<p><code>UPDATE wp_comments SET comment_author_url = REPLACE (comment_author_url, 'sorenara.ikimashou.net','omaemo.dasaku.net');</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Randall Fitzgerald</title>
		<link>http://www.seaslugteam.com/archives/2008/02/13/updating-obsolete-urls-in-10-easy-steps/#comment-68912</link>
		<dc:creator>Randall Fitzgerald</dc:creator>
		<pubDate>Wed, 13 Feb 2008 06:38:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.seaslugteam.com/archives/2008/02/13/updating-obsolete-urls-in-10-easy-steps/#comment-68912</guid>
		<description>And anyone who needs MySQL access to their blogs, let me know, I can tell you guys how to get it.</description>
		<content:encoded><![CDATA[<p>And anyone who needs MySQL access to their blogs, let me know, I can tell you guys how to get it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: IcyStorm</title>
		<link>http://www.seaslugteam.com/archives/2008/02/13/updating-obsolete-urls-in-10-easy-steps/#comment-68911</link>
		<dc:creator>IcyStorm</dc:creator>
		<pubDate>Wed, 13 Feb 2008 06:35:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.seaslugteam.com/archives/2008/02/13/updating-obsolete-urls-in-10-easy-steps/#comment-68911</guid>
		<description>Eh, the blog was on wordpress.com and the export/import process went terribly, so I just manually transferred most of my posts over. Whatever, it's not like I'll be transferring domains anytime soon. I will keep this bookmarked though, for future reference.</description>
		<content:encoded><![CDATA[<p>Eh, the blog was on wordpress.com and the export/import process went terribly, so I just manually transferred most of my posts over. Whatever, it&#8217;s not like I&#8217;ll be transferring domains anytime soon. I will keep this bookmarked though, for future reference.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Randall Fitzgerald</title>
		<link>http://www.seaslugteam.com/archives/2008/02/13/updating-obsolete-urls-in-10-easy-steps/#comment-68910</link>
		<dc:creator>Randall Fitzgerald</dc:creator>
		<pubDate>Wed, 13 Feb 2008 06:34:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.seaslugteam.com/archives/2008/02/13/updating-obsolete-urls-in-10-easy-steps/#comment-68910</guid>
		<description>Thanks for trying to help out my poor users. Though, I have concerns that your query will replace entire post contents with "dasaku.net" and because the query you put forth will FIND posts with ikimashou.net, but changing a word... well... MySQL has a function to do it.

update [table_name] set [field_name] = replace([field_name],'[string_to_find]','[string_to_replace]');

And if anyone still has blogs that need fixups, let me know on dasaku with the contact form or whatever and I will patch things up. I am a busy man, so I missed some people I am sure.</description>
		<content:encoded><![CDATA[<p>Thanks for trying to help out my poor users. Though, I have concerns that your query will replace entire post contents with &#8220;dasaku.net&#8221; and because the query you put forth will FIND posts with ikimashou.net, but changing a word&#8230; well&#8230; MySQL has a function to do it.</p>
<p>update [table_name] set [field_name] = replace([field_name],&#8217;[string_to_find]&#8216;,&#8217;[string_to_replace]&#8216;);</p>
<p>And if anyone still has blogs that need fixups, let me know on dasaku with the contact form or whatever and I will patch things up. I am a busy man, so I missed some people I am sure.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
