<?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>Texas SEO &#124; A Dallas SEO Marketing Firm &#187; Rewriterule</title>
	<atom:link href="http://texasseo.com/tag/rewriterule/feed/" rel="self" type="application/rss+xml" />
	<link>http://texasseo.com</link>
	<description>Professional Search Engine Optimization</description>
	<lastBuildDate>Sun, 18 Jul 2010 15:10:56 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Setting Up Your 301 Permanent Redirect</title>
		<link>http://texasseo.com/1216/setting-up-your-301-permanent-redirect/</link>
		<comments>http://texasseo.com/1216/setting-up-your-301-permanent-redirect/#comments</comments>
		<pubDate>Wed, 08 Jul 2009 22:11:11 +0000</pubDate>
		<dc:creator>Texas SEO</dc:creator>
				<category><![CDATA[Online Marketing]]></category>
		<category><![CDATA[SEO Tips]]></category>
		<category><![CDATA[.htaccess code]]></category>
		<category><![CDATA[301 permanent redirect]]></category>
		<category><![CDATA[301 redirect]]></category>
		<category><![CDATA[Consulting Company]]></category>
		<category><![CDATA[Cpanel]]></category>
		<category><![CDATA[Dallas Marketing]]></category>
		<category><![CDATA[Dallas Marketing Firm]]></category>
		<category><![CDATA[Dallas Seo]]></category>
		<category><![CDATA[dallas texas marketing]]></category>
		<category><![CDATA[Domain Name]]></category>
		<category><![CDATA[Host Www]]></category>
		<category><![CDATA[Hosting]]></category>
		<category><![CDATA[Htaccess File]]></category>
		<category><![CDATA[Lt]]></category>
		<category><![CDATA[Marketing]]></category>
		<category><![CDATA[Redirect]]></category>
		<category><![CDATA[Rewritecond]]></category>
		<category><![CDATA[Rewriterule]]></category>
		<category><![CDATA[Search Engines]]></category>
		<category><![CDATA[Seo]]></category>
		<category><![CDATA[Serp]]></category>
		<category><![CDATA[Site Optimization]]></category>
		<category><![CDATA[Texas Marketing]]></category>
		<category><![CDATA[Texas Seo]]></category>
		<category><![CDATA[Wp]]></category>
		<category><![CDATA[Www Domain]]></category>

		<guid isPermaLink="false">http://texasseo.com/?p=1216</guid>
		<description><![CDATA[By preparing your website with a 301 permanent redirect, you are not only helping the search engines keep your website organized, but you are also helping them give you more value. The thing is, if you don&#8217;t have a 301 permanent redirect setup, your domain.com could be looked at differently than your www.domain.com. This could [...]]]></description>
			<content:encoded><![CDATA[<p>By preparing your website with a 301 permanent redirect, you are not only helping the search engines keep your website organized, but you are also helping them give you more value. The thing is, if you don&#8217;t have a 301 permanent redirect setup, your <span style="color: #993300;"><strong>domain.com </strong></span>could be looked at differently than your <span style="color: #ff0000;"><strong>www.domain.com</strong></span>. This could be detrimental to your positions in the SERP or even more. <span id="more-1216"></span></p>
<p>We say &#8220;even more&#8221; because there was a prospect we did a free analysis for. We discovered that when you go to their domain.com site, it was fine, but if someone typed in www.domain.com, the page was literally non-existent. This can really hurt you through the search engines and through customers who ended up on the wrong domain.</p>
<p>To prevent this from happening, you can use a .htaccess file that would tell the browser what to do when they land on either domain.com or www.domain.com.</p>
<p>We prefer to send www.domain.com to domain.com using a .htacess file. If you&#8217;re not sure how to make that file, just create a new text file and rename it to &#8220;.htaccess&#8221;. Make sure you&#8217;re also able to edit the extension. If you have trouble with it, you can usually do it through your hosting cpanel via file manager.</p>
<p>If you have a WP blog, these are the codes you&#8217;d use in that file:</p>
<blockquote><p>&lt;IfModule mod_rewrite.c&gt;<br />
RewriteEngine On<br />
RewriteBase /<br />
RewriteCond %{REQUEST_FILENAME} !-f<br />
RewriteCond %{REQUEST_FILENAME} !-d<br />
RewriteRule . /index.php [L]<br />
RewriteCond %{http_host} ^www.domain.com [nc]<br />
RewriteRule ^(.*)$ http://domain.com/$1 [r=301,nc]<br />
&lt;/IfModule&gt;</p></blockquote>
<p>Just replace &#8220;domain&#8221; with your domain name.</p>
<p>Here&#8217;s how you do it if it&#8217;s just a regular page (not a blog):</p>
<blockquote><p>Options +FollowSymLinks<br />
RewriteEngine on<br />
RewriteRule (.*) http://www.newdomain.com/$1 [R=301,L]</p></blockquote>
<p>Hope this helps.</p>
<hr /><strong>This article was written by Dallas&#8217;</strong> <a href="http://texasseo.com">TexasSEO.com</a> &#8211; Texas SEO is a Dallas-based web marketing and consulting company. We can help you improve your on-site and off-site optimization so that your website not only looks good to visitors but rank well for the keywords you need. Let us increase your business by first giving you a <a title="Free Analysis by Dallas Texas SEO" href="http://texasseo.com/free-analysis">free analysis</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://texasseo.com/1216/setting-up-your-301-permanent-redirect/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
