<?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[ModRewrite e Redirect CMS (MODx)]]></title><description><![CDATA[<p dir="auto">Ciao, ho bisogno di un aiuto per una questione spinosa che non so risolvere da solo! Ed è una cosa importante che dovrei risolvere nel giro di un paio di settimane al massimo.:x</p>
<p dir="auto">Sto utilizzando il cms MODx e ho attivato la riscrittura degli URL su un sito gia indicizzato e ben posizionato. Ora la pagina tipo index.php?id=123 vengono trasformate in contatti.html, fino qui nessun problema. Il punto è che Google conosce gia index.php?id=123, come mi comporto per non perdere posizioni e pagerank?</p>
<p dir="auto">Se digito sul browser l'indirizzo vecchio vengo mandato in automatico alla pagina contatti.html quindi presumo (ma è una supposizione) che i motori vengono correttamente informati che la vecchia pagina è stata definitivamente spostata in quella nuova tramite il redirect301</p>
<p dir="auto">Posso postare uno stralcio del mio htaccess, magari aiuta a capire.</p>
<pre><code class="language-php"># MODX supports Friendly URLs via this .htaccess file. You must serve web
# pages via Apache with mod_rewrite to use this functionality, and you must
# change the file name from ht.access to .htaccess.
#
# Make sure RewriteBase points to the directory where you installed MODX.
# E.g., "/modx" if your installation is in a "modx" subdirectory.
#
# You may choose to make your URLs non-case-sensitive by adding a NC directive
# to your rule: RewriteRule ^(.*)$ index.php?q=$1 [L,QSA,NC]

# RewriteEngine On
# RewriteBase /xampp/modxr/

# Rewrite w.domain.com -&gt; domain.com -- used with SEO Strict URLs plugin
#RewriteCond %{HTTP_HOST} .
#RewriteCond %{HTTP_HOST} !^127\.0\.0\.1/xampp/modxr [NC]
#RewriteRule (.*) htt://127.0.0.1/xampp/modxr$1 [R=301,L]
#
# or for the opposite domain.com -&gt; w.domain.com use the following
# DO NOT USE BOTH
#
#RewriteCond %{HTTP_HOST} .
#RewriteCond %{HTTP_HOST} !^127\.0\.0\.1/xampp/modxr [NC]
#RewriteRule (.*) htt://127.0.0.1/xampp/modxr$1 [R=301,L]

# Rewrite secure requests properly to prevent SSL cert warnings, e.g. prevent 
# htt://w.domain.com when your cert only allows htt://secure.domain.com
#RewriteCond %{SERVER_PORT} !^443
#RewriteRule (.*) htt://127.0.0.1/xampp/modxr$1 [R=301,L]
</code></pre>
<p dir="auto">Sfruttando strumenti per Webmaster di Google c'e qualche possibilità di sistemare problemi eventualmente creati?</p>
<p dir="auto">Grazie!</p>
]]></description><link>https://dev.connect.gt/topic/164123/modrewrite-e-redirect-cms-modx</link><generator>RSS for Node</generator><lastBuildDate>Thu, 26 Nov 2026 05:38:09 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/164123.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 11 Jan 2012 11:06:21 GMT</pubDate><ttl>60</ttl></channel></rss>