<?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>Schnipsel - Code Schnipsel (Snippets) zu Wordpress, PHP, HTML, CSS, jQuery &#187; htaccess</title>
	<atom:link href="http://schnipsel.davidhellmann.com/tag/htaccess/feed" rel="self" type="application/rss+xml" />
	<link>http://schnipsel.davidhellmann.com</link>
	<description>Code Schnipsel (Snippets) zu Wordpress, PHP, HTML, CSS, jQuery</description>
	<lastBuildDate>Tue, 08 Mar 2011 00:20:33 +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>Aufruf ohne www auf Adresse mit www umleiten</title>
		<link>http://schnipsel.davidhellmann.com/sonstiges/aufruf-ohne-www-auf-adresse-mit-www-umleiten/59</link>
		<comments>http://schnipsel.davidhellmann.com/sonstiges/aufruf-ohne-www-auf-adresse-mit-www-umleiten/59#comments</comments>
		<pubDate>Tue, 09 Jun 2009 06:45:54 +0000</pubDate>
		<dc:creator>Thomas Aull</dc:creator>
				<category><![CDATA[Sonstiges]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[umleitung]]></category>

		<guid isPermaLink="false">http://schnipsel.davidhellmann.com/?p=59</guid>
		<description><![CDATA[Google stuft eine Website schlechter ein wenn sie mit www. und ohne aufgerufen werden kann (doppelter Content). Deshalb sollte man alle Aufrufe ohne www. auf die URL mit www umleiten (oder umgekehrt). Das geht ganz einfach mit einer .htaccess Datei. 1 2 3 RewriteEngine On RewriteCond %&#123;HTTP_HOST&#125; ^deinedomain\.com$ &#91;NC&#93; RewriteRule ^&#40;.*&#41;$ http://www.deinedomain.com/$1 [R=301,L]]]></description>
			<content:encoded><![CDATA[<p>Google stuft eine Website schlechter ein wenn sie mit www. und ohne aufgerufen werden kann (doppelter Content). Deshalb sollte man alle Aufrufe ohne www. auf die URL mit www umleiten (oder umgekehrt). Das geht ganz einfach mit einer .htaccess Datei.</p>
<span id="more-59"></span>


<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">RewriteEngine On
RewriteCond <span style="color: #339933;">%</span><span style="color: #009900;">&#123;</span>HTTP_HOST<span style="color: #009900;">&#125;</span> ^deinedomain\<span style="color: #339933;">.</span>com$ <span style="color: #009900;">&#91;</span>NC<span style="color: #009900;">&#93;</span>
RewriteRule ^<span style="color: #009900;">&#40;</span><span style="color: #339933;">.*</span><span style="color: #009900;">&#41;</span>$ http<span style="color: #339933;">:</span><span style="color: #666666; font-style: italic;">//www.deinedomain.com/$1 [R=301,L]</span></pre></td></tr></table></div>


]]></content:encoded>
			<wfw:commentRss>http://schnipsel.davidhellmann.com/sonstiges/aufruf-ohne-www-auf-adresse-mit-www-umleiten/59/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

