<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[PunBB Forums - SEO canonical 301 redirect]]></title>
		<link>http://punbb.informer.com/forums/topic/21268/seo-canonical-301-redirect/</link>
		<description><![CDATA[The most recent posts in SEO canonical 301 redirect.]]></description>
		<lastBuildDate>Mon, 09 Mar 2009 10:47:39 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: SEO canonical 301 redirect]]></title>
			<link>http://punbb.informer.com/forums/post/125455/#p125455</link>
			<description><![CDATA[<p>Another way to safely tell the searchers what your url should be is to include this link in the header section of the web page:</p><div class="codebox"><pre><code>&lt;head&gt;
     ...
     &lt;link rel=&quot;canonical&quot; href=&quot;http://forexsb.com/&quot; /&gt;
     ...
&lt;/head&gt;</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (Popov)]]></author>
			<pubDate>Mon, 09 Mar 2009 10:47:39 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/125455/#p125455</guid>
		</item>
		<item>
			<title><![CDATA[SEO canonical 301 redirect]]></title>
			<link>http://punbb.informer.com/forums/post/125442/#p125442</link>
			<description><![CDATA[<p>Hello,</p><p>As you know some search engines can penalize your site for duplicate content.<br />The reason is that they see these URL like different pages:</p><div class="codebox"><pre><code>forexsb.com
forexsb.com/
www.forexsb.com/
www.forexsb.com
forexsb.com/index.html
www.forexsb.com/index.html</code></pre></div><p>To prevent this I found .htaccess 301 redirection script in the net. It does this job as well as it redirects the sub domains properly also. I&#039;m currently using this script on my website.</p><br /><div class="codebox"><pre><code>Options +FollowSymLinks 
RewriteEngine on 

RewriteCond %{THE_REQUEST} ^.*index\.html\ HTTP/
RewriteRule ^(.*)index\.html$ /$1 [R=301,L]

RewriteCond %{HTTP_HOST} !=&quot;&quot;
RewriteCond %{HTTP_HOST} !^forexsb\.com
RewriteRule (.*) http://forexsb.com/$1 [R=301,L]</code></pre></div><br /><p>This code redirects all the shown URLs to:</p><div class="codebox"><pre><code>http://forexsb.com/</code></pre></div><br /><p>Here you are how it works:</p><div class="codebox"><pre><code>URL to check : http://www.forexsb.com/index.html

URL: http://www.forexsb.com/index.html ... redirected (301)

URL: http://www.forexsb.com/ ... redirected (301)

URL: http://forexsb.com/ ... found.</code></pre></div><p>Well, I&#039;m not an Apache guru so I would like to comment this script against possible issues.</p><p>Best Regards!</p>]]></description>
			<author><![CDATA[dummy@example.com (Popov)]]></author>
			<pubDate>Mon, 09 Mar 2009 03:10:15 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/125442/#p125442</guid>
		</item>
	</channel>
</rss>
