<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
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/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
><channel><title>SeoExploration &#187; url redirect</title> <atom:link href="http://www.seoexploration.com/tag/url-redirect/feed/" rel="self" type="application/rss+xml" /><link>http://www.seoexploration.com</link> <description>discovering new optimisation techniques</description> <lastBuildDate>Fri, 11 Nov 2011 14:37:05 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.2.1</generator> <item><title>301 redirect to the &#8220;www&#8221; site</title><link>http://www.seoexploration.com/2009/09/301-redirect/</link> <comments>http://www.seoexploration.com/2009/09/301-redirect/#comments</comments> <pubDate>Sun, 06 Sep 2009 11:24:23 +0000</pubDate> <dc:creator>anon</dc:creator> <category><![CDATA[HTML]]></category> <category><![CDATA[301 redirect]]></category> <category><![CDATA[browser shortcuts]]></category> <category><![CDATA[cache problems]]></category> <category><![CDATA[fred morgan]]></category> <category><![CDATA[htaccess file]]></category> <category><![CDATA[public html directory]]></category> <category><![CDATA[redirect url]]></category> <category><![CDATA[url redirect]]></category> <category><![CDATA[url www]]></category><guid
isPermaLink="false">http://www.seoexploration.com/?p=125</guid> <description><![CDATA[Fred Morgan &#8211; seoexploration.com With the modern style of losing the &#8220;www&#8221; at the beginning of the website URL you may encounter problems &#8211; especially with statistical analysis programs. I&#8217;m not really concerned with the semantics of whether one should or should not use the starting &#8220;www&#8221; but being of the old school I still [...]]]></description> <content:encoded><![CDATA[<p>Fred Morgan &#8211; <a
title="SeoExploration" href="http://www.seoexploration.com" target="_blank">seoexploration.com</a></p><p>With the modern style of losing the &#8220;www&#8221; at the beginning of the website URL you may encounter problems &#8211; especially with statistical analysis programs.</p><p>I&#8217;m not really concerned with the semantics of whether one should or should not use the starting &#8220;www&#8221; but being of the old school I still tend towards using it.  These days most hosting facilities utilise the dual base directories of &#8220;public_html&#8221; and &#8220;www&#8221; where &#8220;www&#8221;  is the automatic clone of the &#8220;public_html&#8221; directory so, under normal circumstances, either URL will work fine.<br
/> However, I have seen browser cache problems give display problems identifying a difference between them  &#8211; i.e. missing favicon images and intermittent flash errors etc.  It took me a long time before I identified where the problem actually lay. Everyone always identifies the<strong> standard cache reload fix</strong> but not that you may be varying the actual URL (www) search which can happen when using previous saved browser shortcuts or bookmarks.</p><h3>.htaccess</h3><p>I always now use a <a
title="301 redirect" href="http://www.seoexploration.com/2009/09/301-redirect/" target="_blank">301 redirect</a> with the following script in my .htaccess file which redirects my incoming URLs to www however this step should only be taken by those who understand that problems could follow if incorrect editing is done. Firstly<span
style="text-decoration: underline;"><strong> create a backup copy of your original .htaccess file</strong></span> just in case things get messed up. Now add the following  3 lines of 301 redirection code<span
style="color: #ff0000;"><em><span
style="color: #3366ff;"><br
/> (<span
style="color: #000000;">note :</span> </span><strong>aaaaaaaa.bbb</strong><span
style="color: #3366ff;"> <span
style="color: #000000;">is tobe replaced by your website URL i.e.  <strong> <span
style="color: #ff0000;">okikoki.com</span></strong>)</span></span></em></span></p><p><span
style="color: #ff0000;"><em><span
style="color: #3366ff;"> </span><span
style="color: #3366ff;"><br
/> </span></em></span></p><p><strong>RewriteEngine On </strong><span
style="color: #3366ff;"><em><br
/> </em></span></p><p><strong>RewriteCond %{HTTP_HOST} ^<span
style="color: #ff0000;">aaaaaaaa.bbb</span><br
/> RewriteRule (.*) http://www.</strong><span
style="color: #ff0000;"><strong>aaaaaaaa.bbb</strong></span><strong>/$1 [R=301,L]</strong></p> ]]></content:encoded> <wfw:commentRss>http://www.seoexploration.com/2009/09/301-redirect/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Served from: www.seoexploration.com @ 2012-02-05 12:43:46 by W3 Total Cache -->
