<?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: SEO Canonical URLs And 301 Redirects In Windows IIS 6, IIS 7</title>
	<atom:link href="http://www.barrywise.com/2008/10/seo-canonical-urls-and-301-redirects-in-windows-iis-6-iis-7/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.barrywise.com/2008/10/seo-canonical-urls-and-301-redirects-in-windows-iis-6-iis-7/</link>
	<description>NJ SEO, Web Design, Programming and Online Marketing Consultant</description>
	<lastBuildDate>Mon, 15 Feb 2010 18:28:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Mark &#124; SEO Malta</title>
		<link>http://www.barrywise.com/2008/10/seo-canonical-urls-and-301-redirects-in-windows-iis-6-iis-7/comment-page-1/#comment-22593</link>
		<dc:creator>Mark &#124; SEO Malta</dc:creator>
		<pubDate>Wed, 07 Oct 2009 07:43:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.barrywise.com/?p=306#comment-22593</guid>
		<description>If I understand correctly he said you can use web.config instead of the global.asax on IIS7. I tried implementing the changes in web.config to sort canonicalization for SEO and worked fine for me.

Thanks,
Mark</description>
		<content:encoded><![CDATA[<p>If I understand correctly he said you can use web.config instead of the global.asax on IIS7. I tried implementing the changes in web.config to sort canonicalization for SEO and worked fine for me.</p>
<p>Thanks,<br />
Mark</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Social Maximizer</title>
		<link>http://www.barrywise.com/2008/10/seo-canonical-urls-and-301-redirects-in-windows-iis-6-iis-7/comment-page-1/#comment-19236</link>
		<dc:creator>Social Maximizer</dc:creator>
		<pubDate>Fri, 31 Jul 2009 12:31:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.barrywise.com/?p=306#comment-19236</guid>
		<description>I did as you wrote but have got the error: Error in Global.asax: followed by no error message. Wonder where I&#039;ve gone wrong?</description>
		<content:encoded><![CDATA[<p>I did as you wrote but have got the error: Error in Global.asax: followed by no error message. Wonder where I&#8217;ve gone wrong?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jordan</title>
		<link>http://www.barrywise.com/2008/10/seo-canonical-urls-and-301-redirects-in-windows-iis-6-iis-7/comment-page-1/#comment-18706</link>
		<dc:creator>Jordan</dc:creator>
		<pubDate>Tue, 21 Jul 2009 04:46:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.barrywise.com/?p=306#comment-18706</guid>
		<description>Hi Barry,

Thanks for the article. I&#039;ve implemented your IIS 6 solution on my site. It works well, except that if I type in http://mysite.com/ it returns http://www.mysite.com/index.html rather than simply http://www.mysite.com/ (i.e. I don&#039;t want to have the &quot;index.html&quot; portion visible in the address).

Is there some additional code that can be added to the global.asax file to handle this?

Thanks!</description>
		<content:encoded><![CDATA[<p>Hi Barry,</p>
<p>Thanks for the article. I&#8217;ve implemented your IIS 6 solution on my site. It works well, except that if I type in <a href="http://mysite.com/">http://mysite.com/</a> it returns <a href="http://www.mysite.com/index.html">http://www.mysite.com/index.html</a> rather than simply <a href="http://www.mysite.com/">http://www.mysite.com/</a> (i.e. I don&#8217;t want to have the &#8220;index.html&#8221; portion visible in the address).</p>
<p>Is there some additional code that can be added to the global.asax file to handle this?</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://www.barrywise.com/2008/10/seo-canonical-urls-and-301-redirects-in-windows-iis-6-iis-7/comment-page-1/#comment-12793</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Wed, 06 May 2009 17:09:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.barrywise.com/?p=306#comment-12793</guid>
		<description>Thanks for this. I just inherited a site on IIS 6. I&#039;ve only worked with Apache and .htaccess for 301s in the past. 

My question is, I have also found a tutorial that suggests 301 is best done through IIS 6 control panel rather than through the global.asax file. 

We have an outsourced network admin who knows nothing of SEO and so I need help figuring out the right way to 301 in IIS 6. 

Sorry for asking a potentially dumb question.</description>
		<content:encoded><![CDATA[<p>Thanks for this. I just inherited a site on IIS 6. I&#8217;ve only worked with Apache and .htaccess for 301s in the past. </p>
<p>My question is, I have also found a tutorial that suggests 301 is best done through IIS 6 control panel rather than through the global.asax file. </p>
<p>We have an outsourced network admin who knows nothing of SEO and so I need help figuring out the right way to 301 in IIS 6. </p>
<p>Sorry for asking a potentially dumb question.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: LYF4CE</title>
		<link>http://www.barrywise.com/2008/10/seo-canonical-urls-and-301-redirects-in-windows-iis-6-iis-7/comment-page-1/#comment-8533</link>
		<dc:creator>LYF4CE</dc:creator>
		<pubDate>Sat, 28 Mar 2009 22:52:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.barrywise.com/?p=306#comment-8533</guid>
		<description>One of the easiest ways to redirect using IIS is to just create a new web site.  Most people are interested in making the www.yoursite.com domain the one that answers canonical URLs.  Using IIS headers, simply remove the yoursite.com domain from the primary web site.

Create a new web site and make sure during the setup that you choose the path that your site&#039;s files are located.  Once the site is setup, open its properties, click the Advanced button and enter yourdomain.com as the header. Click the Home Directory tab and check the radio &quot;A redirection to a URL&quot; and the checkbox &quot;A permanent redirection for this resource&quot;.

All the files in your website will now automatically and permanently redirect to www.yourdomain.com.

I can see times when this could cause issues with web sites.  For instance, if the developers have hard-coded yourdomain.com into the web code and the code misbehaves during the redirect.  Albeit, if you&#039;re coding like that you should have your hand slapped like a Catholic nun with a ruler, it can happen.  From my experience, if this doesn&#039;t work for your web site you have other issues that should be dealt with anyway because things aren&#039;t being done right somewhere in the code.

Again, easy fix.  Each situation will be unique and should be assessed thoroughly before implementing a solution.  Sometimes the simple solutions are the best; sometimes developers need a swift kick in the pants.

Cheers!</description>
		<content:encoded><![CDATA[<p>One of the easiest ways to redirect using IIS is to just create a new web site.  Most people are interested in making the <a href="http://www.yoursite.com">http://www.yoursite.com</a> domain the one that answers canonical URLs.  Using IIS headers, simply remove the yoursite.com domain from the primary web site.</p>
<p>Create a new web site and make sure during the setup that you choose the path that your site&#8217;s files are located.  Once the site is setup, open its properties, click the Advanced button and enter yourdomain.com as the header. Click the Home Directory tab and check the radio &#8220;A redirection to a URL&#8221; and the checkbox &#8220;A permanent redirection for this resource&#8221;.</p>
<p>All the files in your website will now automatically and permanently redirect to <a href="http://www.yourdomain.com">http://www.yourdomain.com</a>.</p>
<p>I can see times when this could cause issues with web sites.  For instance, if the developers have hard-coded yourdomain.com into the web code and the code misbehaves during the redirect.  Albeit, if you&#8217;re coding like that you should have your hand slapped like a Catholic nun with a ruler, it can happen.  From my experience, if this doesn&#8217;t work for your web site you have other issues that should be dealt with anyway because things aren&#8217;t being done right somewhere in the code.</p>
<p>Again, easy fix.  Each situation will be unique and should be assessed thoroughly before implementing a solution.  Sometimes the simple solutions are the best; sometimes developers need a swift kick in the pants.</p>
<p>Cheers!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tyler Cordaro</title>
		<link>http://www.barrywise.com/2008/10/seo-canonical-urls-and-301-redirects-in-windows-iis-6-iis-7/comment-page-1/#comment-8379</link>
		<dc:creator>Tyler Cordaro</dc:creator>
		<pubDate>Thu, 26 Mar 2009 15:36:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.barrywise.com/?p=306#comment-8379</guid>
		<description>Issues like this is why I use Appache. Thx 4 the info</description>
		<content:encoded><![CDATA[<p>Issues like this is why I use Appache. Thx 4 the info</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: otimização de sites</title>
		<link>http://www.barrywise.com/2008/10/seo-canonical-urls-and-301-redirects-in-windows-iis-6-iis-7/comment-page-1/#comment-7924</link>
		<dc:creator>otimização de sites</dc:creator>
		<pubDate>Fri, 20 Mar 2009 19:55:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.barrywise.com/?p=306#comment-7924</guid>
		<description>Great tips!
I always used Redirects in .htaccess files or setting up the server.
Thanks for the info.

I´ve already bookmarked and subscribed the feeds.</description>
		<content:encoded><![CDATA[<p>Great tips!<br />
I always used Redirects in .htaccess files or setting up the server.<br />
Thanks for the info.</p>
<p>I´ve already bookmarked and subscribed the feeds.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SEO Norwich</title>
		<link>http://www.barrywise.com/2008/10/seo-canonical-urls-and-301-redirects-in-windows-iis-6-iis-7/comment-page-1/#comment-7774</link>
		<dc:creator>SEO Norwich</dc:creator>
		<pubDate>Wed, 18 Mar 2009 16:11:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.barrywise.com/?p=306#comment-7774</guid>
		<description>Great stuff barry, I predominatly work with Apache but this has been a great insight to how this is done in IIS</description>
		<content:encoded><![CDATA[<p>Great stuff barry, I predominatly work with Apache but this has been a great insight to how this is done in IIS</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ITCN</title>
		<link>http://www.barrywise.com/2008/10/seo-canonical-urls-and-301-redirects-in-windows-iis-6-iis-7/comment-page-1/#comment-7535</link>
		<dc:creator>ITCN</dc:creator>
		<pubDate>Sun, 15 Mar 2009 13:14:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.barrywise.com/?p=306#comment-7535</guid>
		<description>Matt;
You could use a regular 301 rule.  The reason I use the global.asax file is because I also perform URL re-writing to create search engine friendly URLs.  See other post about that here: http://www.barrywise.com/2008/11/seo-search-engine-friendly-urls-with-aspnet-and-iis/</description>
		<content:encoded><![CDATA[<p>Matt;<br />
You could use a regular 301 rule.  The reason I use the global.asax file is because I also perform URL re-writing to create search engine friendly URLs.  See other post about that here: <a href="http://www.barrywise.com/2008/11/seo-search-engine-friendly-urls-with-aspnet-and-iis/">http://www.barrywise.com/2008/11/seo-search-engine-friendly-urls-with-aspnet-and-iis/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://www.barrywise.com/2008/10/seo-canonical-urls-and-301-redirects-in-windows-iis-6-iis-7/comment-page-1/#comment-7195</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Wed, 11 Mar 2009 16:58:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.barrywise.com/?p=306#comment-7195</guid>
		<description>Thanks for the Article Barry,

Is there a reason to use the global.asax file over the 301 redirection available in IIS 6.0 when configuring the home directory?

Would you use the global.asax file because some search engines treat this 301 as a 302?  Or is it an issue of load on IIS.

Thanks!</description>
		<content:encoded><![CDATA[<p>Thanks for the Article Barry,</p>
<p>Is there a reason to use the global.asax file over the 301 redirection available in IIS 6.0 when configuring the home directory?</p>
<p>Would you use the global.asax file because some search engines treat this 301 as a 302?  Or is it an issue of load on IIS.</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
