<?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: WordPress blog URL change</title>
	<atom:link href="http://www.fayazmiraz.com/wordpress-blog-url-change/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.fayazmiraz.com/wordpress-blog-url-change/</link>
	<description>Blog of Fayaz Ahmed (Miraz)</description>
	<lastBuildDate>Wed, 28 Dec 2011 18:44:45 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Fayaz Ahmed</title>
		<link>http://www.fayazmiraz.com/wordpress-blog-url-change/comment-page-1/#comment-3441</link>
		<dc:creator>Fayaz Ahmed</dc:creator>
		<pubDate>Wed, 28 Dec 2011 18:44:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.fayazmiraz.com/?p=52#comment-3441</guid>
		<description>BTW, remember if you happen to have hard-coded links inside your theme file or post, then those links will have to be changed manually (for theme files) or using SQL query (for posts).

Of course, in that case, you can also use a rewrite rule in the .htaccess file to redirect them to your base url, (as a quick shortcut) :)</description>
		<content:encoded><![CDATA[<p>BTW, remember if you happen to have hard-coded links inside your theme file or post, then those links will have to be changed manually (for theme files) or using SQL query (for posts).</p>
<p>Of course, in that case, you can also use a rewrite rule in the .htaccess file to redirect them to your base url, (as a quick shortcut) <img src='http://www.fayazmiraz.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fayaz Ahmed</title>
		<link>http://www.fayazmiraz.com/wordpress-blog-url-change/comment-page-1/#comment-3440</link>
		<dc:creator>Fayaz Ahmed</dc:creator>
		<pubDate>Wed, 28 Dec 2011 18:40:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.fayazmiraz.com/?p=52#comment-3440</guid>
		<description>Hello Rana,

Follow these steps and you should be all set:

1. Move (cut+paste) all files from /beta/ folder to your &quot;web root&quot; (&quot;web root&quot; is most likely one directory above &quot;beta&quot; folder)

2. Change wp-configure.php to:
    define(&#039;WP_HOME&#039;,&#039;http://mylifementors.com&#039;);
    define(&#039;WP_SITEURL&#039;,&#039;http://mylifementors.com&#039;);

3. Change .htaccess to:
    RewriteEngine On

    RewriteBase /

    RewriteCond %{REQUEST_FILENAME} !-f

    RewriteCond %{REQUEST_FILENAME} !-d

    RewriteRule . /index.php [L]

That&#039;s it :)

Let me know how it turns out. I may not answer back immediately though, as I&#039;m very busy at the moment.</description>
		<content:encoded><![CDATA[<p>Hello Rana,</p>
<p>Follow these steps and you should be all set:</p>
<p>1. Move (cut+paste) all files from /beta/ folder to your "web root" ("web root" is most likely one directory above "beta" folder)</p>
<p>2. Change wp-configure.php to:<br />
    define('WP_HOME','<a href="http://mylifementors.com" rel="nofollow">http://mylifementors.com</a>');<br />
    define('WP_SITEURL','<a href="http://mylifementors.com" rel="nofollow">http://mylifementors.com</a>');</p>
<p>3. Change .htaccess to:<br />
    RewriteEngine On</p>
<p>    RewriteBase /</p>
<p>    RewriteCond %{REQUEST_FILENAME} !-f</p>
<p>    RewriteCond %{REQUEST_FILENAME} !-d</p>
<p>    RewriteRule . /index.php [L]</p>
<p>That's it <img src='http://www.fayazmiraz.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Let me know how it turns out. I may not answer back immediately though, as I'm very busy at the moment.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rana mukhtar</title>
		<link>http://www.fayazmiraz.com/wordpress-blog-url-change/comment-page-1/#comment-3439</link>
		<dc:creator>rana mukhtar</dc:creator>
		<pubDate>Wed, 28 Dec 2011 17:47:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.fayazmiraz.com/?p=52#comment-3439</guid>
		<description>i made a site whose url is http://mylifementors.com/beta/ but i want to change it in http://mylifementors.com
i also give the two lines in wp-configure.php which are define(&#039;WP_HOME&#039;,&#039;http://mylifementors.com/beta&#039;);
define(&#039;WP_SITEURL&#039;,&#039;http://mylifementors.com/beta&#039;);
what i do for this ?</description>
		<content:encoded><![CDATA[<p>i made a site whose url is <a href="http://mylifementors.com/beta/" rel="nofollow">http://mylifementors.com/beta/</a> but i want to change it in <a href="http://mylifementors.com" rel="nofollow">http://mylifementors.com</a><br />
i also give the two lines in wp-configure.php which are define('WP_HOME','<a href="http://mylifementors.com/beta" rel="nofollow">http://mylifementors.com/beta</a>');<br />
define('WP_SITEURL','<a href="http://mylifementors.com/beta" rel="nofollow">http://mylifementors.com/beta</a>');<br />
what i do for this ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fayaz Ahmed</title>
		<link>http://www.fayazmiraz.com/wordpress-blog-url-change/comment-page-1/#comment-3395</link>
		<dc:creator>Fayaz Ahmed</dc:creator>
		<pubDate>Fri, 09 Dec 2011 05:36:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.fayazmiraz.com/?p=52#comment-3395</guid>
		<description>This is not the correct place to answer this question, so I&#039;ll suggest you to Google for it :)</description>
		<content:encoded><![CDATA[<p>This is not the correct place to answer this question, so I'll suggest you to Google for it <img src='http://www.fayazmiraz.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Garnet Brescia</title>
		<link>http://www.fayazmiraz.com/wordpress-blog-url-change/comment-page-1/#comment-3357</link>
		<dc:creator>Garnet Brescia</dc:creator>
		<pubDate>Mon, 28 Nov 2011 09:47:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.fayazmiraz.com/?p=52#comment-3357</guid>
		<description>How do you transfer your bookmarks and RSS feeds from Firefox to a portable version of Firefox?</description>
		<content:encoded><![CDATA[<p>How do you transfer your bookmarks and RSS feeds from Firefox to a portable version of Firefox?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: micheal</title>
		<link>http://www.fayazmiraz.com/wordpress-blog-url-change/comment-page-1/#comment-3210</link>
		<dc:creator>micheal</dc:creator>
		<pubDate>Fri, 09 Sep 2011 12:46:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.fayazmiraz.com/?p=52#comment-3210</guid>
		<description>This post was awesome, many thanks.
if you are tired in posting then try this:
wpcontentuploader.info</description>
		<content:encoded><![CDATA[<p>This post was awesome, many thanks.<br />
if you are tired in posting then try this:<br />
wpcontentuploader.info</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nnte</title>
		<link>http://www.fayazmiraz.com/wordpress-blog-url-change/comment-page-1/#comment-2937</link>
		<dc:creator>nnte</dc:creator>
		<pubDate>Mon, 18 Apr 2011 17:11:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.fayazmiraz.com/?p=52#comment-2937</guid>
		<description>I don&#039;t see why not!</description>
		<content:encoded><![CDATA[<p>I don't see why not!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fayaz Ahmed</title>
		<link>http://www.fayazmiraz.com/wordpress-blog-url-change/comment-page-1/#comment-2924</link>
		<dc:creator>Fayaz Ahmed</dc:creator>
		<pubDate>Fri, 01 Apr 2011 03:38:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.fayazmiraz.com/?p=52#comment-2924</guid>
		<description>I don&#039;t see why not!

Maintenance page should work perfectly. Why don&#039;t you give it a try and let me know the results?</description>
		<content:encoded><![CDATA[<p>I don't see why not!</p>
<p>Maintenance page should work perfectly. Why don't you give it a try and let me know the results?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kerre</title>
		<link>http://www.fayazmiraz.com/wordpress-blog-url-change/comment-page-1/#comment-2923</link>
		<dc:creator>Kerre</dc:creator>
		<pubDate>Thu, 31 Mar 2011 17:32:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.fayazmiraz.com/?p=52#comment-2923</guid>
		<description>Will this work if my Wordpress self hosted site needs a redesign and I want to have a maintenance page up while I work on it?</description>
		<content:encoded><![CDATA[<p>Will this work if my WordPress self hosted site needs a redesign and I want to have a maintenance page up while I work on it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave James Miller</title>
		<link>http://www.fayazmiraz.com/wordpress-blog-url-change/comment-page-1/#comment-2907</link>
		<dc:creator>Dave James Miller</dc:creator>
		<pubDate>Thu, 10 Mar 2011 22:12:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.fayazmiraz.com/?p=52#comment-2907</guid>
		<description>Source Category: WordPress   Cancel Reply Write a Comment</description>
		<content:encoded><![CDATA[<p>Source Category: WordPress   Cancel Reply Write a Comment</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Max</title>
		<link>http://www.fayazmiraz.com/wordpress-blog-url-change/comment-page-1/#comment-2902</link>
		<dc:creator>Max</dc:creator>
		<pubDate>Wed, 09 Mar 2011 12:03:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.fayazmiraz.com/?p=52#comment-2902</guid>
		<description>Hi Buddy, thanx a lot.  I&#039;ve been struggling with a sql queries to change url.
didn&#039;t know it was that simple:)

cheers!</description>
		<content:encoded><![CDATA[<p>Hi Buddy, thanx a lot.  I've been struggling with a sql queries to change url.<br />
didn't know it was that simple:)</p>
<p>cheers!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fayazmiraz</title>
		<link>http://www.fayazmiraz.com/wordpress-blog-url-change/comment-page-1/#comment-2322</link>
		<dc:creator>fayazmiraz</dc:creator>
		<pubDate>Wed, 09 Feb 2011 16:07:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.fayazmiraz.com/?p=52#comment-2322</guid>
		<description>Yes, that is expected. Any hard-coded link with wordpress.example.com/.../ will not convert to www.example.com/.../

You can do any one of the following (Option-3 is recommended):

&lt;strong&gt;Option-1:&lt;/strong&gt; if there is only a few links, update the links by manually editing the posts, so that links points to www.example.com/../ instead of wordpress.example.com

&lt;strong&gt;Option-2:&lt;/strong&gt; if manual link update is tadeous, then follow the link updating process in this POST (this uses SQL query, keep it as a last resort. Don&#039;t do it unless you have to): http://www.lancelhoff.com/wordpress-replace-url-or-text-in-all-posts/

&lt;strong&gt;Option-3:&lt;/strong&gt; Changing SQL can be dangerous. Especially, if you don&#039;t know exactly what you are doing. To be on the safe side, you an try modifying step-2 of my (&lt;a href=&quot;#comment-891&quot; rel=&quot;nofollow&quot;&gt;previously commented suggestion&lt;/a&gt;):

--------------------------------------------
Change the .htaccess of wordpress.example.com (i.e. the wordpress folder) for blocking wordpress.example.com and allowing only http://www.example.com:
# BEGIN WordPress

RewriteEngine On
RewriteCond %{HTTP_HOST} !^www.example\.com$
RewriteRule ^(.*)$ http\:\/\/www.example\.com\/$1 [R=301,L]
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

# END WordPress
-----------------------------------------------

Notice the &lt;strong&gt;$1&lt;/strong&gt; in this line:
RewriteRule ^(.*)$ http\:\/\/www.example\.com\/&lt;strong&gt;$1&lt;/strong&gt; [R=301,L]

In fact, this is the only change you&#039;ll have to do. Let me know how it goes.

cheers :)</description>
		<content:encoded><![CDATA[<p>Yes, that is expected. Any hard-coded link with wordpress.example.com/.../ will not convert to <a href="http://www.example.com/.../" rel="nofollow">http://www.example.com/.../</a></p>
<p>You can do any one of the following (Option-3 is recommended):</p>
<p><strong>Option-1:</strong> if there is only a few links, update the links by manually editing the posts, so that links points to <a href="http://www.example.com/../" rel="nofollow">http://www.example.com/../</a> instead of wordpress.example.com</p>
<p><strong>Option-2:</strong> if manual link update is tadeous, then follow the link updating process in this POST (this uses SQL query, keep it as a last resort. Don't do it unless you have to): <a href="http://www.lancelhoff.com/wordpress-replace-url-or-text-in-all-posts/" rel="nofollow">http://www.lancelhoff.com/wordpress-replace-url-or-text-in-all-posts/</a></p>
<p><strong>Option-3:</strong> Changing SQL can be dangerous. Especially, if you don't know exactly what you are doing. To be on the safe side, you an try modifying step-2 of my (<a href="#comment-891" rel="nofollow">previously commented suggestion</a>):</p>
<p>--------------------------------------------<br />
Change the .htaccess of wordpress.example.com (i.e. the wordpress folder) for blocking wordpress.example.com and allowing only <a href="http://www.example.com" rel="nofollow">http://www.example.com</a>:<br />
# BEGIN WordPress</p>
<p>RewriteEngine On<br />
RewriteCond %{HTTP_HOST} !^www.example\.com$<br />
RewriteRule ^(.*)$ http\:\/\/www.example\.com\/$1 [R=301,L]<br />
RewriteBase /<br />
RewriteCond %{REQUEST_FILENAME} !-f<br />
RewriteCond %{REQUEST_FILENAME} !-d<br />
RewriteRule . /index.php [L]</p>
<p># END WordPress<br />
-----------------------------------------------</p>
<p>Notice the <strong>$1</strong> in this line:<br />
RewriteRule ^(.*)$ http\:\/\/www.example\.com\/<strong>$1</strong> [R=301,L]</p>
<p>In fact, this is the only change you'll have to do. Let me know how it goes.</p>
<p>cheers <img src='http://www.fayazmiraz.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

