<?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 Redirects With A Zeus Server</title>
	<atom:link href="http://www.northsouthmedia.co.uk/blog/301-redirects-zeus-server/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.northsouthmedia.co.uk/blog/301-redirects-zeus-server/</link>
	<description>NorthSouthMedia Blog</description>
	<lastBuildDate>Sat, 12 Jun 2010 10:11:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Paul Steven</title>
		<link>http://www.northsouthmedia.co.uk/blog/301-redirects-zeus-server/comment-page-1/#comment-1844</link>
		<dc:creator>Paul Steven</dc:creator>
		<pubDate>Tue, 06 Apr 2010 20:32:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.northsouthmedia.co.uk/blog/?p=136#comment-1844</guid>
		<description>Hi Liam, it depends, if your not bothered about passing the existing pagerank or pagestrength to the new pages then you could do just a folder redirect, however, if you want to hold onto some pagestrength then I would advise 8 singular redirects to help accomodate any incoming or inbound links  you have pointing to the site (although, tbh, to get the full credit always try and get the 3rd party that is linking to you to repoint the link to you new destination).

Hope this helps,

Paul</description>
		<content:encoded><![CDATA[<p>Hi Liam, it depends, if your not bothered about passing the existing pagerank or pagestrength to the new pages then you could do just a folder redirect, however, if you want to hold onto some pagestrength then I would advise 8 singular redirects to help accomodate any incoming or inbound links  you have pointing to the site (although, tbh, to get the full credit always try and get the 3rd party that is linking to you to repoint the link to you new destination).</p>
<p>Hope this helps,</p>
<p>Paul</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Liam</title>
		<link>http://www.northsouthmedia.co.uk/blog/301-redirects-zeus-server/comment-page-1/#comment-1838</link>
		<dc:creator>Liam</dc:creator>
		<pubDate>Wed, 24 Mar 2010 17:18:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.northsouthmedia.co.uk/blog/?p=136#comment-1838</guid>
		<description>Great post.

If I had 8 crawl errors on my site because I move stuff into a webfolder - would I need to write a 301 redirect for &#039;each&#039; URL and place it in the rewrite.script file or can I write 1 that covers them all?</description>
		<content:encoded><![CDATA[<p>Great post.</p>
<p>If I had 8 crawl errors on my site because I move stuff into a webfolder &#8211; would I need to write a 301 redirect for &#8216;each&#8217; URL and place it in the rewrite.script file or can I write 1 that covers them all?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Barbara</title>
		<link>http://www.northsouthmedia.co.uk/blog/301-redirects-zeus-server/comment-page-1/#comment-1479</link>
		<dc:creator>Barbara</dc:creator>
		<pubDate>Thu, 19 Nov 2009 16:50:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.northsouthmedia.co.uk/blog/?p=136#comment-1479</guid>
		<description>Thank you such much for script for www versus non www. It worked instantaneously - and that never happens! First break of the day!</description>
		<content:encoded><![CDATA[<p>Thank you such much for script for www versus non www. It worked instantaneously &#8211; and that never happens! First break of the day!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gav</title>
		<link>http://www.northsouthmedia.co.uk/blog/301-redirects-zeus-server/comment-page-1/#comment-949</link>
		<dc:creator>Gav</dc:creator>
		<pubDate>Thu, 16 Jul 2009 22:45:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.northsouthmedia.co.uk/blog/?p=136#comment-949</guid>
		<description>Awesome - thanks for your help on this I was pretty much lost until I found this website! 

Thanks again your help is much appreciated! :)</description>
		<content:encoded><![CDATA[<p>Awesome &#8211; thanks for your help on this I was pretty much lost until I found this website! </p>
<p>Thanks again your help is much appreciated! <img src='http://www.northsouthmedia.co.uk/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.northsouthmedia.co.uk/blog/301-redirects-zeus-server/comment-page-1/#comment-948</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 16 Jul 2009 20:13:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.northsouthmedia.co.uk/blog/?p=136#comment-948</guid>
		<description>Gav the script above should handle that for without any worries, here&#039;s a further example of what you should be doing...



#— 301 Redirect —

&lt;code&gt;match URL into $ with ^/categories$
if matched
set OUT:Location = http:// www mysite.com/
set OUT:Content-Type = text/html
set RESPONSE = 301
set BODY = Moved
goto END
endif&lt;/code&gt;

I have placed spaces in this line : set OUT:Location = http:// www mysite.com/ to stop it linking out to 404 error please close up the spaces before you run your code

</description>
		<content:encoded><![CDATA[<p>Gav the script above should handle that for without any worries, here&#8217;s a further example of what you should be doing&#8230;</p>
<p>#— 301 Redirect —</p>
<p><code>match URL into $ with ^/categories$<br />
if matched<br />
set OUT:Location = http:// www mysite.com/<br />
set OUT:Content-Type = text/html<br />
set RESPONSE = 301<br />
set BODY = Moved<br />
goto END<br />
endif</code></p>
<p>I have placed spaces in this line : set OUT:Location = http:// www mysite.com/ to stop it linking out to 404 error please close up the spaces before you run your code</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gav</title>
		<link>http://www.northsouthmedia.co.uk/blog/301-redirects-zeus-server/comment-page-1/#comment-943</link>
		<dc:creator>Gav</dc:creator>
		<pubDate>Wed, 15 Jul 2009 13:49:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.northsouthmedia.co.uk/blog/?p=136#comment-943</guid>
		<description>Hi,

I have a site which has directories that I would like to use 301 Redirects with as follows:-

www mysite.com/categories/
www mysite.com/products/

Is it possible to place a rewrite.script within each of these folders to basically do two things:-
1 - Redirect the user to www mysite.com
2 - Tell Google that the directory has permanently removed

Does anyone have any idea on how this would be achieved - thanks again.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I have a site which has directories that I would like to use 301 Redirects with as follows:-</p>
<p>www mysite.com/categories/<br />
www mysite.com/products/</p>
<p>Is it possible to place a rewrite.script within each of these folders to basically do two things:-<br />
1 &#8211; Redirect the user to www mysite.com<br />
2 &#8211; Tell Google that the directory has permanently removed</p>
<p>Does anyone have any idea on how this would be achieved &#8211; thanks again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Dixon</title>
		<link>http://www.northsouthmedia.co.uk/blog/301-redirects-zeus-server/comment-page-1/#comment-82</link>
		<dc:creator>John Dixon</dc:creator>
		<pubDate>Wed, 21 Jan 2009 13:46:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.northsouthmedia.co.uk/blog/?p=136#comment-82</guid>
		<description>Same thing happened with the set URL = line. There was a dollar sign missing after the final forward slash and before the number 1. Hopefully a few bits of Unicode will help (fingers crossed as there&#039;s no preview):
</description>
		<content:encoded><![CDATA[<p>Same thing happened with the set URL = line. There was a dollar sign missing after the final forward slash and before the number 1. Hopefully a few bits of Unicode will help (fingers crossed as there&#8217;s no preview):</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Dixon</title>
		<link>http://www.northsouthmedia.co.uk/blog/301-redirects-zeus-server/comment-page-1/#comment-81</link>
		<dc:creator>John Dixon</dc:creator>
		<pubDate>Wed, 21 Jan 2009 13:36:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.northsouthmedia.co.uk/blog/?p=136#comment-81</guid>
		<description>And finally, the reverse of your script, which converts www into non-www addresses:

# Rewrites www to non-www equivalent addresses
insensitive match IN:Host into $ with ^www\.[domain]\.co\.uk$
	if matched
	match URL into $ with ^/(.*)$
		if matched
			set URL = [domain].co.uk/$1
			set OUT:Location = %{URL}
			set OUT:Content-Type = text/html
			set RESPONSE = 301
			set BODY = Please try here instead\n
			goto END
		endif
	endif</description>
		<content:encoded><![CDATA[<p>And finally, the reverse of your script, which converts www into non-www addresses:</p>
<p># Rewrites www to non-www equivalent addresses<br />
insensitive match IN:Host into $ with ^www\.[domain]\.co\.uk$<br />
	if matched<br />
	match URL into $ with ^/(.*)$<br />
		if matched<br />
			set URL = [domain].co.uk/$1<br />
			set OUT:Location = %{URL}<br />
			set OUT:Content-Type = text/html<br />
			set RESPONSE = 301<br />
			set BODY = Please try here instead\n<br />
			goto END<br />
		endif<br />
	endif</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Dixon</title>
		<link>http://www.northsouthmedia.co.uk/blog/301-redirects-zeus-server/comment-page-1/#comment-80</link>
		<dc:creator>John Dixon</dc:creator>
		<pubDate>Wed, 21 Jan 2009 13:28:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.northsouthmedia.co.uk/blog/?p=136#comment-80</guid>
		<description>It&#039;s translated a bit of code that has a link on it. I&#039;m just going to try it with entities instead:

set BODY = Please try here instead\n

Otherwise (in case this doesn&#039;t work either) just:

set BODY = Moved

as in the examples you gave.</description>
		<content:encoded><![CDATA[<p>It&#8217;s translated a bit of code that has a link on it. I&#8217;m just going to try it with entities instead:</p>
<p>set BODY = Please try here instead\n</p>
<p>Otherwise (in case this doesn&#8217;t work either) just:</p>
<p>set BODY = Moved</p>
<p>as in the examples you gave.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Dixon</title>
		<link>http://www.northsouthmedia.co.uk/blog/301-redirects-zeus-server/comment-page-1/#comment-79</link>
		<dc:creator>John Dixon</dc:creator>
		<pubDate>Wed, 21 Jan 2009 13:24:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.northsouthmedia.co.uk/blog/?p=136#comment-79</guid>
		<description>Thank you. I&#039;ve been scratching my head with this one for a few days now. In the spirit of sharing, this is the script I used when I migrated a site from IIS and .asp to .php - it rewrites URIs and preserves querystring values.

# Rewrites URIs with .asp suffix to .php and preserves querystring values
insensitive match URL into $ with ^(.*)\.asp(.*)$
	if matched
		set URL = $1.php$2
		set RESPONSE = 301
		set OUT:Location = %{URL}
		set BODY = Please try here instead\n
		goto END
	endif</description>
		<content:encoded><![CDATA[<p>Thank you. I&#8217;ve been scratching my head with this one for a few days now. In the spirit of sharing, this is the script I used when I migrated a site from IIS and .asp to .php &#8211; it rewrites URIs and preserves querystring values.</p>
<p># Rewrites URIs with .asp suffix to .php and preserves querystring values<br />
insensitive match URL into $ with ^(.*)\.asp(.*)$<br />
	if matched<br />
		set URL = $1.php$2<br />
		set RESPONSE = 301<br />
		set OUT:Location = %{URL}<br />
		set BODY = Please try here instead\n<br />
		goto END<br />
	endif</p>
]]></content:encoded>
	</item>
</channel>
</rss>
