<?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: Search Engine Friendly 301 Redirect in CFM Coldfusion</title>
	<atom:link href="http://www.topsemtips.com/2006/01/search-engine-friendly-301-redirect-in-cfm-coldfusion/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.topsemtips.com/2006/01/search-engine-friendly-301-redirect-in-cfm-coldfusion/</link>
	<description>SEO and Link Building Tips</description>
	<lastBuildDate>Wed, 03 Mar 2010 14:42:06 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Willem-Alexander</title>
		<link>http://www.topsemtips.com/2006/01/search-engine-friendly-301-redirect-in-cfm-coldfusion/comment-page-1/#comment-127</link>
		<dc:creator>Willem-Alexander</dc:creator>
		<pubDate>Thu, 16 Jul 2009 11:12:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.topsemtips.com/2006/01/search-engine-friendly-301-redirect-in-cfm-coldfusion/#comment-127</guid>
		<description>Thanks, works great..!!!</description>
		<content:encoded><![CDATA[<p>Thanks, works great..!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karen</title>
		<link>http://www.topsemtips.com/2006/01/search-engine-friendly-301-redirect-in-cfm-coldfusion/comment-page-1/#comment-79</link>
		<dc:creator>Karen</dc:creator>
		<pubDate>Sun, 26 Oct 2008 20:52:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.topsemtips.com/2006/01/search-engine-friendly-301-redirect-in-cfm-coldfusion/#comment-79</guid>
		<description>ColdFusion 8: Added the statusCode attribute.





The HTTP status code, as follows:

    * 300 HTTP_MULTIPLE_CHOICES: The requested address refers to more than one entity.
    * 301 HTTP_MOVED_PERMANENTLY: The page is assigned a new URI. The change is permanent.
    * 302 HTTP_MOVED_TEMPORARILY: The page is assigned a new URI. The change is temporary.
    * 303 HTTP_SEE_OTHER: The client should try another network address.
    * 304 HTTP_NOT_MODIFIED: The requested resource has not been modified.
    * 305 HTTP_USE_PROXY: The requested resource must be accessed through the proxy given by the Location field.
    * 307 HTTP_TEMPORARY_REDIRECT: The requested data temporarily resides at a new location.</description>
		<content:encoded><![CDATA[<p>ColdFusion 8: Added the statusCode attribute.</p>
<p>The HTTP status code, as follows:</p>
<p>    * 300 HTTP_MULTIPLE_CHOICES: The requested address refers to more than one entity.<br />
    * 301 HTTP_MOVED_PERMANENTLY: The page is assigned a new URI. The change is permanent.<br />
    * 302 HTTP_MOVED_TEMPORARILY: The page is assigned a new URI. The change is temporary.<br />
    * 303 HTTP_SEE_OTHER: The client should try another network address.<br />
    * 304 HTTP_NOT_MODIFIED: The requested resource has not been modified.<br />
    * 305 HTTP_USE_PROXY: The requested resource must be accessed through the proxy given by the Location field.<br />
    * 307 HTTP_TEMPORARY_REDIRECT: The requested data temporarily resides at a new location.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dylan</title>
		<link>http://www.topsemtips.com/2006/01/search-engine-friendly-301-redirect-in-cfm-coldfusion/comment-page-1/#comment-57</link>
		<dc:creator>Dylan</dc:creator>
		<pubDate>Wed, 10 Sep 2008 15:51:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.topsemtips.com/2006/01/search-engine-friendly-301-redirect-in-cfm-coldfusion/#comment-57</guid>
		<description>I don&#039;t know an easy way to do this. The script will usually fill in CGI.SCRIPT_NAME with index.cfm whether accessed using / or /index.cfm</description>
		<content:encoded><![CDATA[<p>I don&#8217;t know an easy way to do this. The script will usually fill in CGI.SCRIPT_NAME with index.cfm whether accessed using / or /index.cfm</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jane Galt</title>
		<link>http://www.topsemtips.com/2006/01/search-engine-friendly-301-redirect-in-cfm-coldfusion/comment-page-1/#comment-54</link>
		<dc:creator>Jane Galt</dc:creator>
		<pubDate>Wed, 10 Sep 2008 14:47:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.topsemtips.com/2006/01/search-engine-friendly-301-redirect-in-cfm-coldfusion/#comment-54</guid>
		<description>I&#039;m not able to get requests for www.domain.com/index.cfm to 301 redirect to www.domain.com. 

I&#039;m trying to force the home page to ALWAYS be www.domain.com, because right now I can see that Google is indexing both and even assigning different PageRank to each, so I would like to transfer all the PageRank currently going to the index.cfm version of the home page over to the non-index.cfm version. This will ensure all PageRank accrues to one version.

Any code for how to accomplish this?

Thanks</description>
		<content:encoded><![CDATA[<p>I&#8217;m not able to get requests for <a href="http://www.domain.com/index.cfm" rel="nofollow">http://www.domain.com/index.cfm</a> to 301 redirect to <a href="http://www.domain.com" rel="nofollow">http://www.domain.com</a>. </p>
<p>I&#8217;m trying to force the home page to ALWAYS be <a href="http://www.domain.com" rel="nofollow">http://www.domain.com</a>, because right now I can see that Google is indexing both and even assigning different PageRank to each, so I would like to transfer all the PageRank currently going to the index.cfm version of the home page over to the non-index.cfm version. This will ensure all PageRank accrues to one version.</p>
<p>Any code for how to accomplish this?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Spencer</title>
		<link>http://www.topsemtips.com/2006/01/search-engine-friendly-301-redirect-in-cfm-coldfusion/comment-page-1/#comment-49</link>
		<dc:creator>Spencer</dc:creator>
		<pubDate>Fri, 15 Aug 2008 12:29:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.topsemtips.com/2006/01/search-engine-friendly-301-redirect-in-cfm-coldfusion/#comment-49</guid>
		<description>Thanks Dylan - fixed it by stripping out &#039;index.cfm&#039; from CGI.SCRIPT_NAME where CGI.SCRIPT_NAME contains &#039;index.cfm&#039; but NOT &#039;index.cfm?&#039;

Much appreciated,
Spencer</description>
		<content:encoded><![CDATA[<p>Thanks Dylan &#8211; fixed it by stripping out &#8216;index.cfm&#8217; from CGI.SCRIPT_NAME where CGI.SCRIPT_NAME contains &#8216;index.cfm&#8217; but NOT &#8216;index.cfm?&#8217;</p>
<p>Much appreciated,<br />
Spencer</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dylan</title>
		<link>http://www.topsemtips.com/2006/01/search-engine-friendly-301-redirect-in-cfm-coldfusion/comment-page-1/#comment-46</link>
		<dc:creator>Dylan</dc:creator>
		<pubDate>Thu, 14 Aug 2008 16:16:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.topsemtips.com/2006/01/search-engine-friendly-301-redirect-in-cfm-coldfusion/#comment-46</guid>
		<description>Use the header check at http://www.seoconsultants.com/tools/headers.asp on both URLs (with and without index.cfm) to check that both are being indexed and not redirected. That&#039;s a tough one as most servers will report to the underlying code they&#039;re at &#039;index.cfm&#039; whether the URL in the address bar is that or not, so you can&#039;t programmatically redirect easily.

One way is to change the code above to detect you&#039;re on the index.cfm page and not to append the page name to the redirect URL. 

Anyone have any suggestions?</description>
		<content:encoded><![CDATA[<p>Use the header check at <a href="http://www.seoconsultants.com/tools/headers.asp" rel="nofollow">http://www.seoconsultants.com/tools/headers.asp</a> on both URLs (with and without index.cfm) to check that both are being indexed and not redirected. That&#8217;s a tough one as most servers will report to the underlying code they&#8217;re at &#8216;index.cfm&#8217; whether the URL in the address bar is that or not, so you can&#8217;t programmatically redirect easily.</p>
<p>One way is to change the code above to detect you&#8217;re on the index.cfm page and not to append the page name to the redirect URL. </p>
<p>Anyone have any suggestions?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Spencer</title>
		<link>http://www.topsemtips.com/2006/01/search-engine-friendly-301-redirect-in-cfm-coldfusion/comment-page-1/#comment-45</link>
		<dc:creator>Spencer</dc:creator>
		<pubDate>Thu, 14 Aug 2008 10:44:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.topsemtips.com/2006/01/search-engine-friendly-301-redirect-in-cfm-coldfusion/#comment-45</guid>
		<description>Very useful code, thanks - and it works fine across an entire site if you slot it into the application.cfm file.

Just one question - any idea how to hide the default &#039;index.cfm&#039; in the redirected URL? If you redirect all mysite.com pages to www.mysite.com, someone going to mysite.com will see www.mysite.com/index.cfm in the address bar - which means search engines will probably index www.mysite.com and www.mysite.com/index.cfm as separate pages, when they are infact the same. Any way around this?</description>
		<content:encoded><![CDATA[<p>Very useful code, thanks &#8211; and it works fine across an entire site if you slot it into the application.cfm file.</p>
<p>Just one question &#8211; any idea how to hide the default &#8216;index.cfm&#8217; in the redirected URL? If you redirect all mysite.com pages to <a href="http://www.mysite.com" rel="nofollow">http://www.mysite.com</a>, someone going to mysite.com will see <a href="http://www.mysite.com/index.cfm" rel="nofollow">http://www.mysite.com/index.cfm</a> in the address bar &#8211; which means search engines will probably index <a href="http://www.mysite.com" rel="nofollow">http://www.mysite.com</a> and <a href="http://www.mysite.com/index.cfm" rel="nofollow">http://www.mysite.com/index.cfm</a> as separate pages, when they are infact the same. Any way around this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dylan</title>
		<link>http://www.topsemtips.com/2006/01/search-engine-friendly-301-redirect-in-cfm-coldfusion/comment-page-1/#comment-42</link>
		<dc:creator>Dylan</dc:creator>
		<pubDate>Tue, 12 Aug 2008 22:29:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.topsemtips.com/2006/01/search-engine-friendly-301-redirect-in-cfm-coldfusion/#comment-42</guid>
		<description>It&#039;s been a while since I worked on a Coldfusion site at the application level. The code above can be included on all files and will achieve the same effect - not the answer you were looking for but...

Or have a look at http://www.sitepoint.com/forums/showthread.php?t=545129 and let me know what code works and I&#039;ll post it here.</description>
		<content:encoded><![CDATA[<p>It&#8217;s been a while since I worked on a Coldfusion site at the application level. The code above can be included on all files and will achieve the same effect &#8211; not the answer you were looking for but&#8230;</p>
<p>Or have a look at <a href="http://www.sitepoint.com/forums/showthread.php?t=545129" rel="nofollow">http://www.sitepoint.com/forums/showthread.php?t=545129</a> and let me know what code works and I&#8217;ll post it here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: xomero</title>
		<link>http://www.topsemtips.com/2006/01/search-engine-friendly-301-redirect-in-cfm-coldfusion/comment-page-1/#comment-39</link>
		<dc:creator>xomero</dc:creator>
		<pubDate>Thu, 07 Aug 2008 21:02:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.topsemtips.com/2006/01/search-engine-friendly-301-redirect-in-cfm-coldfusion/#comment-39</guid>
		<description>How can I use this script on the Application.cfm file, I want to run this function in the entire site. Let say redirect full domain A to domain B</description>
		<content:encoded><![CDATA[<p>How can I use this script on the Application.cfm file, I want to run this function in the entire site. Let say redirect full domain A to domain B</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.topsemtips.com/2006/01/search-engine-friendly-301-redirect-in-cfm-coldfusion/comment-page-1/#comment-18</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 03 Jul 2008 20:34:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.topsemtips.com/2006/01/search-engine-friendly-301-redirect-in-cfm-coldfusion/#comment-18</guid>
		<description>The code
&lt;cfheader statuscode=&quot;301&quot; statustext=&quot;Moved permanently&quot; &gt;

sets the return code to 301 - ensure that it is in correctly.

Note if you&#039;re cutting and pasting the code the quotes are being converted to smart quotes. Try hand coding.</description>
		<content:encoded><![CDATA[<p>The code<br />
&lt;cfheader statuscode=&#8221;301&#8243; statustext=&#8221;Moved permanently&#8221; &gt;</p>
<p>sets the return code to 301 &#8211; ensure that it is in correctly.</p>
<p>Note if you&#8217;re cutting and pasting the code the quotes are being converted to smart quotes. Try hand coding.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
