<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[evitare duplicati]]></title><description><![CDATA[<p dir="auto">Ciao,</p>
<p dir="auto">ho ricevuto questa email, da una directory cui ho iscritto un sito, sono email periodiche, comunque dice così:</p>
<hr />
<p dir="auto">An easy step that can help avoid potential ranking loss from duplicate content reprimands is to make sure there aren?t four or five different URLs navigating to the same page. Google views these two domains below as separate entities and if the content is exact, they can take punitive measures against the offending site.</p>
<p dir="auto"><a href="http://mysite.com" rel="nofollow ugc">mysite.com</a><br />
<a href="http://www.mysite.com" rel="nofollow ugc">http://www.mysite.com</a></p>
<p dir="auto">To address potential duplicate content penalties, manipulate your.htaccess file and redirect  secondary domains to the preferred listing. This means every time a web user enters the <a href="http://mysite.com" rel="nofollow ugc">mysite.com</a> address without the preferred prefix, they are redirected to the correct domain.</p>
<p dir="auto">Add the following code to your .htaccess file (change the "mysite" to your domain):</p>
<p dir="auto">RewriteEngine on<br />
RewriteCond %{HTTP_HOST} ^<a href="http://mysite.com" rel="nofollow ugc">mysite.com</a><br />
RewriteRule ^(.*)$ <a href="http://www.mysite.com/$1" rel="nofollow ugc">http://www.mysite.com/$1</a> [R=permanent,L]</p>
<hr />
<p dir="auto">ed il codice sopra protegge relamente da eventuali "doppioni"?<br />
Non ho capito cosa fanno le righe di codice sopra...<br />
Cosa ne pensate?</p>
]]></description><link>https://dev.connect.gt/topic/38269/evitare-duplicati</link><generator>RSS for Node</generator><lastBuildDate>Sun, 06 Dec 2026 22:15:10 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/38269.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 14 Jun 2007 10:32:54 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to evitare duplicati on Thu, 14 Jun 2007 17:18:40 GMT]]></title><description><![CDATA[<p dir="auto">quel codice controlla se è stato omesso www. e rendirizza qualsiasi pagina al dominio col www davanti <img src="https://dev.connect.gt/assets/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=3abbd2034aa" class="not-responsive emoji emoji-android emoji--wink" style="height:1.4em;width:auto;vertical-align:middle" title=";)" alt="😉" /></p>
]]></description><link>https://dev.connect.gt/post/532378</link><guid isPermaLink="true">https://dev.connect.gt/post/532378</guid><dc:creator><![CDATA[osvi]]></dc:creator><pubDate>Thu, 14 Jun 2007 17:18:40 GMT</pubDate></item><item><title><![CDATA[Reply to evitare duplicati on Thu, 14 Jun 2007 11:48:27 GMT]]></title><description><![CDATA[<p dir="auto">se non sbaglio si tratta solo di righe di codice che vanno ad indirizzare l'utente alla pagina principale del sito anche quando non viene digitato www</p>
]]></description><link>https://dev.connect.gt/post/532377</link><guid isPermaLink="true">https://dev.connect.gt/post/532377</guid><dc:creator><![CDATA[another]]></dc:creator><pubDate>Thu, 14 Jun 2007 11:48:27 GMT</pubDate></item></channel></rss>