<?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: 301 redirect with htaccess for new domain in WordPress</title>
	<atom:link href="http://www.idowebdesign.ca/wordpress/301-redirect-with-htaccess-for-new-domain-in-wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.idowebdesign.ca/wordpress/301-redirect-with-htaccess-for-new-domain-in-wordpress/</link>
	<description></description>
	<lastBuildDate>Thu, 02 Feb 2012 20:12:17 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Guillaume</title>
		<link>http://www.idowebdesign.ca/wordpress/301-redirect-with-htaccess-for-new-domain-in-wordpress/comment-page-1/#comment-11</link>
		<dc:creator>Guillaume</dc:creator>
		<pubDate>Wed, 24 Nov 2010 16:46:38 +0000</pubDate>
		<guid isPermaLink="false">http://idowebdesign.ca/?p=58#comment-11</guid>
		<description>Yes this is right Ben, you can just append it to your .htaccess rule created by Wordpress</description>
		<content:encoded><![CDATA[<p>Yes this is right Ben, you can just append it to your .htaccess rule created by WordPress</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://www.idowebdesign.ca/wordpress/301-redirect-with-htaccess-for-new-domain-in-wordpress/comment-page-1/#comment-10</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Wed, 24 Nov 2010 14:56:38 +0000</pubDate>
		<guid isPermaLink="false">http://idowebdesign.ca/?p=58#comment-10</guid>
		<description>Thanks Guillaume. Just to clarify for new users, with the new version of wordpress this is how your .htaccess file should look like (example for .co.uk domain):


# BEGIN WordPress

RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^www\.olddomain\.co\.uk$ [NC]
RewriteRule ^.*$ http://www.newdomain.co.uk%{REQUEST_URI} [R=301,L]

RewriteCond %{HTTP_HOST} ^olddomain\.co\.uk$ [NC]
RewriteRule ^.*$ http://www.newdomain.co.uk%{REQUEST_URI} [R=301,L]
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</description>
		<content:encoded><![CDATA[<p>Thanks Guillaume. Just to clarify for new users, with the new version of wordpress this is how your .htaccess file should look like (example for .co.uk domain):</p>
<p># BEGIN WordPress</p>
<p>RewriteEngine On<br />
RewriteBase /<br />
RewriteCond %{HTTP_HOST} ^www\.olddomain\.co\.uk$ [NC]<br />
RewriteRule ^.*$ <a href="http://www.newdomain.co.uk%" rel="nofollow">http://www.newdomain.co.uk%</a>{REQUEST_URI} [R=301,L]</p>
<p>RewriteCond %{HTTP_HOST} ^olddomain\.co\.uk$ [NC]<br />
RewriteRule ^.*$ <a href="http://www.newdomain.co.uk%" rel="nofollow">http://www.newdomain.co.uk%</a>{REQUEST_URI} [R=301,L]<br />
RewriteRule ^index\.php$ &#8211; [L]<br />
RewriteCond %{REQUEST_FILENAME} !-f<br />
RewriteCond %{REQUEST_FILENAME} !-d<br />
RewriteRule . /index.php [L]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Duncan</title>
		<link>http://www.idowebdesign.ca/wordpress/301-redirect-with-htaccess-for-new-domain-in-wordpress/comment-page-1/#comment-8</link>
		<dc:creator>Duncan</dc:creator>
		<pubDate>Sun, 24 Oct 2010 10:26:29 +0000</pubDate>
		<guid isPermaLink="false">http://idowebdesign.ca/?p=58#comment-8</guid>
		<description>This was a huge help to me.  Thank you!</description>
		<content:encoded><![CDATA[<p>This was a huge help to me.  Thank you!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

