<?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>Hello kwiti &#187; htaccess</title>
	<atom:link href="http://hello.kwiti.net/tag/htaccess/feed" rel="self" type="application/rss+xml" />
	<link>http://hello.kwiti.net</link>
	<description>la petite vie du at</description>
	<lastBuildDate>Thu, 06 Oct 2011 07:05:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Redirect domain.com to www.domain.com (using htaccess)</title>
		<link>http://hello.kwiti.net/406-redirect-domaincom-to-wwwdomaincom-using-htaccess.html</link>
		<comments>http://hello.kwiti.net/406-redirect-domaincom-to-wwwdomaincom-using-htaccess.html#comments</comments>
		<pubDate>Fri, 03 Oct 2008 14:32:05 +0000</pubDate>
		<dc:creator>atmaniak</dc:creator>
				<category><![CDATA[log]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[rewrite]]></category>

		<guid isPermaLink="false">http://atmaniak.net/?p=406</guid>
		<description><![CDATA[Certains luttent pour la disparition du www dans les URL des sites Internet, mais moi je l&#8217;aime bien, alors  voici quelques lignes à ajouter dans votre fichier .htaccess pour pouvoir rediriger automatiquement les URL de la forme http://domain.tld vers http://www.domain.tld RewriteCond %{HTTP_HOST} ^domain\.tld [NC] RewriteRule ^(.*)$ http://www.domain.tld/$1 [R=301,L] On utilise ici une redirection de type [...]]]></description>
			<content:encoded><![CDATA[<p>Certains luttent pour la disparition du <a href="http://no-www.org/">www</a> dans les URL des sites Internet, mais moi je l&#8217;aime bien, alors  voici quelques lignes à ajouter dans votre fichier .htaccess pour pouvoir rediriger automatiquement les URL de la forme http://domain.tld vers http://www.domain.tld</p>
<pre>
RewriteCond %{HTTP_HOST} ^domain\.tld [NC]
RewriteRule ^(.*)$ http://www.domain.tld/$1 [R=301,L]
</pre>
<p>On utilise ici une <a href="http://en.wikipedia.org/wiki/URL_redirection">redirection de type 301</a> qui permet donc signifier aux moteurs de recherches que le contenu a changé définitivement d&#8217;adresse, et qu&#8217;ils doivent indexer la nouvelle (et donc l&#8217;unique adresse désormais).</p>
]]></content:encoded>
			<wfw:commentRss>http://hello.kwiti.net/406-redirect-domaincom-to-wwwdomaincom-using-htaccess.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

