<?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>Web2.0 Tutorials &#187; pr</title>
	<atom:link href="http://www.zulutown.com/blog/tag/pr/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.zulutown.com/blog</link>
	<description>All the Guides You Need to Become a Web2.0 Expert</description>
	<lastBuildDate>Mon, 13 Jul 2009 07:50:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Change your site domain or path keeping your Google PageRank and position</title>
		<link>http://www.zulutown.com/blog/2009/04/01/change-your-site-domain-or-path-keeping-your-google-pagerank-and-position/</link>
		<comments>http://www.zulutown.com/blog/2009/04/01/change-your-site-domain-or-path-keeping-your-google-pagerank-and-position/#comments</comments>
		<pubDate>Wed, 01 Apr 2009 19:45:04 +0000</pubDate>
		<dc:creator>Zulutown Webmaster</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[301]]></category>
		<category><![CDATA[domain name]]></category>
		<category><![CDATA[google first position]]></category>
		<category><![CDATA[google pr]]></category>
		<category><![CDATA[http 301]]></category>
		<category><![CDATA[location]]></category>
		<category><![CDATA[moved]]></category>
		<category><![CDATA[pagerank]]></category>
		<category><![CDATA[permanent redirect]]></category>
		<category><![CDATA[pr]]></category>
		<category><![CDATA[redirect]]></category>
		<category><![CDATA[redirectmatch]]></category>
		<category><![CDATA[regular expression]]></category>
		<category><![CDATA[relative path]]></category>
		<category><![CDATA[relocate]]></category>
		<category><![CDATA[search engine]]></category>
		<category><![CDATA[url]]></category>
		<category><![CDATA[wget]]></category>

		<guid isPermaLink="false">http://www.zulutown.com/blog/?p=105</guid>
		<description><![CDATA[When a website moves from an URL to another, the main issue for the webmaster is try to keep a good position on the Google search results (or other search engines).
Time ago I applied the SEO technique described in this article and I obtained good results.
The goal, in this example, is to move the site [...]]]></description>
			<content:encoded><![CDATA[<p>When a website moves from an URL to another, the main issue for the webmaster is try to keep a good position on the Google search results (or other search engines).<br />
Time ago I applied the <strong>SEO technique</strong> described in this article and I obtained good results.</p>
<p>The goal, in this example, is to move the site located in <code>http://www.youroldsite.com/section/</code> to the new location <code>http://www.yournewsite.com/section/</code>.</p>
<p>The trick to map everything  to the new location (without specifying every single URL) and especially to tell correctly to Google to consider that the site has moved (as described in Google FAQ) is to use the HTTP response code <em>301</em> that causes a <strong>Permanent Redirect</strong>.</p>
<p>Obviously everything inside the <code>section</code> directory must keep exactly its previous relative path. I.e. <code>http://www.youroldsite.com/section/page.html</code> have to be placed in <code>http://www.yournewsite.com/section/page.html</code>.<br />
It&#8217;s even possible, using regular expression, to map relative paths that have some differences, but a &#8220;logic&#8221; between them should exist.</p>
<p>A <code>.htaccess</code> file should be placed inside the <em>document root</em> or in the <code>section</code> subdirectory of the <strong>old</strong> website where the site is moving out<br />
The content of <code>.htaccess</code> should look like this:</p>
<pre>RedirectMatch 301 ^/section/(.*)$ http://www.yournewsite.com/section/$1</pre>
<p>Obviously if the new site has <code>section</code> moved in <code>othersection</code> the <code>.htaccess</code> should look like this:</p>
<pre>RedirectMatch 301 ^/section/(.*)$ http://www.yournewsite.com/othersection/$1</pre>
<p>And if the relocation has happened within the same domain:</p>
<pre>RedirectMatch 301 ^/section/(.*)$ /othersection/$1</pre>
<p>A test made with <code>wget</code> (a GNU tool):</p>
<pre>Connecting to www.youroldsite.com|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://www.yournewsite.com/section/ [following]
--2009-03-24 20:04:59--  http://www.yournewsite.com/section/
Resolving www.yournewsite.com... 127.0.0.1
Connecting to www.yournewsite.com|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 200 OK</pre>
<p>I applied the first configuration to one of my websites that was in the first position on Google for some <em>query strings</em>, because unluckily I had to move it on a new domain name.</p>
<p>The result has been very good. After 7 days I placed the <em>Redirect 301</em>, my old URL (that was the first position of Google) has been replaced by the new one. Still in the <strong>first position</strong>, and it&#8217;s still there!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zulutown.com/blog/2009/04/01/change-your-site-domain-or-path-keeping-your-google-pagerank-and-position/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
