<?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>Sun, 22 Aug 2010 20:02:17 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: umesh chand</title>
		<link>http://www.barrywise.com/2008/10/seo-canonical-urls-and-301-redirects-in-windows-iis-6-iis-7/comment-page-1/#comment-71283</link>
		<dc:creator>umesh chand</dc:creator>
		<pubDate>Mon, 12 Jul 2010 11:11:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.barrywise.com/?p=306#comment-71283</guid>
		<description>I have used IIS 7 url rewriting for Canonical problem, its working but i have a master page on which i have placed a login control and when i tried to login it simply refreshes the page and nothing happend on default page. but when do the same thing from other page login works.
I removed the url rule then check and its working again, i m getting the problem why its not working on defalut.aspx page.
There is also a button on master page.On clicking that button i just passed some querystring and redirect to other page and it also not working just refreshes the page.
After removing the canonical rule all is well again.
Remember only on default.aspx page this creates a problem except this page everything works fine on other pages.Please help me to solve this issue</description>
		<content:encoded><![CDATA[<p>I have used IIS 7 url rewriting for Canonical problem, its working but i have a master page on which i have placed a login control and when i tried to login it simply refreshes the page and nothing happend on default page. but when do the same thing from other page login works.<br />
I removed the url rule then check and its working again, i m getting the problem why its not working on defalut.aspx page.<br />
There is also a button on master page.On clicking that button i just passed some querystring and redirect to other page and it also not working just refreshes the page.<br />
After removing the canonical rule all is well again.<br />
Remember only on default.aspx page this creates a problem except this page everything works fine on other pages.Please help me to solve this issue</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Piscina de Vinil</title>
		<link>http://www.barrywise.com/2008/10/seo-canonical-urls-and-301-redirects-in-windows-iis-6-iis-7/comment-page-1/#comment-56464</link>
		<dc:creator>Piscina de Vinil</dc:creator>
		<pubDate>Sat, 17 Apr 2010 19:27:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.barrywise.com/?p=306#comment-56464</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: FLorida Man</title>
		<link>http://www.barrywise.com/2008/10/seo-canonical-urls-and-301-redirects-in-windows-iis-6-iis-7/comment-page-1/#comment-51992</link>
		<dc:creator>FLorida Man</dc:creator>
		<pubDate>Mon, 22 Mar 2010 10:56:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.barrywise.com/?p=306#comment-51992</guid>
		<description>Thanks for this as have been trying to find the fianl and correct way for doing this. My host said they could not do it and I needed to do it in code, this is a great clean example of a way to do as this was the last of my canonicalization mission to resolve on my site.
Thanks Barry - Good Post mate</description>
		<content:encoded><![CDATA[<p>Thanks for this as have been trying to find the fianl and correct way for doing this. My host said they could not do it and I needed to do it in code, this is a great clean example of a way to do as this was the last of my canonicalization mission to resolve on my site.<br />
Thanks Barry &#8211; Good Post mate</p>
]]></content:encoded>
	</item>
	<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>
</channel>
</rss>
