<?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>eBiz4Results.com&#187; Standardising your site&#8217;s URL</title>
	<atom:link href="http://www.ebiz4results.com/tag/valid_urls/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ebiz4results.com</link>
	<description>eBusiness for Small Business</description>
	<lastBuildDate>Fri, 01 May 2009 09:21:54 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Standardising your site&#8217;s URL</title>
		<link>http://www.ebiz4results.com/basics/standardising-your-sites-url</link>
		<comments>http://www.ebiz4results.com/basics/standardising-your-sites-url#comments</comments>
		<pubDate>Sun, 21 Oct 2007 05:55:02 +0000</pubDate>
		<dc:creator>Nigel Ball</dc:creator>
				<category><![CDATA[Basics]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Web sites]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[isp]]></category>
		<category><![CDATA[keyword_phrases]]></category>
		<category><![CDATA[search_engines]]></category>
		<category><![CDATA[search_engine_listings]]></category>
		<category><![CDATA[search_engine_ranking]]></category>
		<category><![CDATA[valid_urls]]></category>

		<guid isPermaLink="false">http://www.ebiz4results.com/basics/standardising-your-sites-url</guid>
		<description><![CDATA[
		
		
		
		In the early days of the Internet virtually all site URLs were preceeded by &#8220;www&#8221; &#8212; even today many casual users of the Internet will add the www to a URL, perhaps believing that this designates the &#8220;World Wide Web&#8221;.

However, most modern sites make the prefix optional. For example, both http://www.ebiz4results.com and http://ebiz4results.com are valid [...]]]></description>
			<content:encoded><![CDATA[<div style="float: right; width: 42px; padding-right: 10px; margin: 0 0 0 10px;">
		<script type="text/javascript">
		<!--
		digg_url = "http://www.ebiz4results.com/basics/standardising-your-sites-url";
		digg_bgcolor = "";
		digg_skin = "";
		digg_window = "";
		digg_title = "Standardising+your+site%26%238217%3Bs+URL";
		digg_media = "";
		digg_topic = "";
		digg_bodytext = "";
		//-->
		</script>
		<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script></div><p>In the early days of the Internet virtually all site <span class="caps">URL</span>s were preceeded by &#8220;www&#8221; &#8212; even today many casual users of the Internet will add the www to a <span class="caps">URL, </span>perhaps believing that this designates the &#8220;World Wide Web&#8221;.</p>

<p>However, most modern sites make the prefix optional. For example, both http://www.ebiz4results.com and http://ebiz4results.com are valid <span class="caps">URL</span>s for this site.<br />
<span id="more-22"></span></p>

<p>The main upside of this flexibility is that potential visitors will arrive at your site regardless of how they type your <span class="caps">URL </span>into your browser. Another advantage is that the &#8220;abbreviated&#8221; URL takes up less space in printed material and is much easier to say!<br />
  <br />
On the other hand there is a potential downside to the dual <span class="caps">URL.</span> This is that some search engines might consider the shorter and longer links to be different pages when indexing. This means that your search engine ranking will be lower than necessary &#8212; a definite disadvantage if you are trying to maximise your site&#8217;s traffic from &#8220;organic&#8221; search engine listings.</p>

<h3>What you need to do&#8230;</h3>

<p><strong>Firstly</strong>, the absolute minimum is to make sure that both the long and short forms of your <span class="caps">URL </span>are operational. This is easily tested by typing each into the location bar of your browser and making sure that each takes you to your home page. If either <span class="caps">URL </span>results in an error, it is most unlikely that you will be able to make the required configuration change yourself. So you should immediately ask your Webmaster or <span class="caps">ISP </span>to correct the position. </p>

<p><strong>Secondly</strong>, if your site&#8217;s search engine ranking is important &#8212; if it isn&#8217;t, you should be seriously questioning why you have a site at all! &#8212; you need to decide whether you want the short or long <span class="caps">URL </span>to be the standard. </p>

<p>The choice is generally one of personal preference. But, if your site is relatively mature you should probably Google one of your primary keyword phrases and check if the Google link to your site uses the short or long form and adopt the result as your standard.</p>

<p>Then ask your <span class="caps">ISP </span>or Webmaster to configure your server to &#8220;rewrite&#8221; the non-standard <span class="caps">URL </span>to the standard <span class="caps">URL, </span>and designate the change as permanent. Feel free to refer them to this article if the need more information!</p>

<blockquote><p>To see what I mean, click on this link&#8230; <a href="http://ebiz4results.com">http://ebiz4results.com</a> and look at the address in your browser&#8217;s location bar&#8230; You&#8217;ll see that, even though you entered the short <span class="caps">URL, </span>your browser has taken you to the full <span class="caps">URL, </span>including the &#8220;www&#8221;. </p></blockquote>

<h3>HowTo force long <span class="caps">URL&#8217;</span>s </h3>

<p>Forcing a long <span class="caps">URL </span>(ie all links to your site include the &#8220;www&#8221; in the <span class="caps">URL</span>) is simple with an Apache server&#8230; </p>


<ul>
<li>make sure that <code>mod_rewrite</code> is installed</li>
<li>add the following to the site&#8217;s top level <code>.htaccess</code> file, replacing &#8220;domain.com&#8221; with your own domain name</li>
</ul>




<div class="wp_syntax"><div class="code"><pre class="httpd" style="font-family:monospace;">  Options +FollowSymlinks
  RewriteEngine On
  RewriteCond %{http_host} ^domain.com [NC]
  RewriteRule ^(.*)$ http://www.domain.com/$1 [R=301,L]</pre></div></div>




<h3>HowTo force short <span class="caps">URL</span>s</h3>

<p>The equivalent <code>.htaccess</code> entry is&#8230;</p>


<div class="wp_syntax"><div class="code"><pre class="httpd" style="font-family:monospace;">  Options +FollowSymlinks
  RewriteEngine On
  RewriteCond %{http_host} ^www.domain.com [NC]
  RewriteRule ^(.*)$ http://domain.com/$1 [R=301,L]</pre></div></div>




<p>You can see this in action at <a href="http://www.nigelball.org">http://www.nigelball.org</a></p>

<h3>Notes</h3>


<ol>
<li>The <code>.htaccess</code> file is simply a text file with the filename <code>.htaccess</code>, and it should be stored at the root directory of your site.</li>
<li>Be careful when editing <code>.htaccess</code> &#8212; wrongly inserted commands may break your site altogether &#8212; if in doubt, seek professional assistance! </li>
<li>If you are using a <acronym title="Content Management System">CMS</acronym> such as Joomla, or blogging software, such as Wordpress, you should also check the software configuration to set the site <span class="caps">URL </span>to the preferred form.</li>
</ol>

]]></content:encoded>
			<wfw:commentRss>http://www.ebiz4results.com/basics/standardising-your-sites-url/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
