<?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[Errore 404 + redirect 301 nel file htaccess]]></title><description><![CDATA[<p dir="auto">Ciao a tutti,</p>
<p dir="auto">negli ultimi giorni consultando gli strumenti per i webmaster offerti da Google ho notato che sono riportati numerosi "Errori di scansione". In effetti i link riportati rimandano a pagine che non esistono più.<br />
Esempio:<br />
Link riportato nel report con errore 404: .blogmotori.com/category/marche/volkswagen/</p>
<p dir="auto">Link effettivo della categoria: .blogmotori.com/category/marca/volkswagen-marca</p>
<p dir="auto">Per risolvere il problema ho implementato un redirect 301 nel file htaccess (Redirect 301 "vecchio indirizzo" "nuovo indirizzo") solo che il file, una volta inserito nel sito mi da errore.</p>
<p dir="auto">Sapreste dirmi se è scritto correttamente?</p>
<p dir="auto">Grazie!</p>
<p dir="auto">Options +FollowSymLinks<br />
RewriteEngine On</p>
<h1>Tue regole</h1>
<p dir="auto">RewriteRule ^category/marche/mercedes/(.<em>)$ /category/marca/mercedes-marca/$1 [R=301,NC,L]<br />
RewriteRule ^category/marche/alfa-romeo/(.</em>)$ /category/marca/alfa-romeo-marca/$1 [R=301,NC,L]<br />
RewriteRule ^category/marche/ferrari/(.<em>)$ /category/marca/ferrari-marca/$1 [R=301,NC,L]<br />
RewriteRule ^category/marche/nissan/(.</em>)$ /category/marca/nissan-marca/$1 [R=301,NC,L]<br />
RewriteRule ^category/marche/honda/(.<em>)$ /category/marca/honda-marca/$1 [R=301,NC,L]<br />
RewriteRule ^category/speciali/mobilita-sostenibile/(.</em>)$ /category/speciali/mobilita-sostenibile-marca/$1 [R=301,NC,L]<br />
RewriteRule ^category/marche/kawasaki/(.<em>)$ /category/marca/kawasaki-marca/$1 [R=301,NC,L]<br />
RewriteRule ^category/marche/corvette/(.</em>)$ /category/marca/corvette-marca/$1 [R=301,NC,L]<br />
RewriteRule ^category/marche/volkswagen/(.<em>)$ /category/marca/volkswagen-marca/$1 [R=301,NC,L]<br />
RewriteRule ^category/marche/citroen/(.</em>)$ /category/marca/citroen-marca/$1 [R=301,NC,L]<br />
RewriteRule ^category/marche/suzuki/(.<em>)$ /category/marca/suzuki-marca/$1 [R=301,NC,L]<br />
RewriteRule ^category/marche/smart/(.</em>)$ /category/marca/smart-marca/$1 [R=301,NC,L]<br />
RewriteRule ^category/marche/audi/(.<em>)$ /category/marca/audi-marca/$1 [R=301,NC,L]<br />
RewriteRule ^category/marche/hummer/(.</em>)$ /category/marca/hummer-marca/$1 [R=301,NC,L]<br />
RewriteRule ^category/marche/bmw/(.<em>)$ /category/marca/bmw-marca/$1 [R=301,NC,L]<br />
RewriteRule ^category/marche/porsche/(.</em>)$ /category/marca/porsche-marca/$1 [R=301,NC,L]<br />
RewriteRule ^category/marche/peugeot/(.<em>)$ /category/marca/peugeot-marca/$1 [R=301,NC,L]<br />
RewriteRule ^category/marche/ducati/(.</em>)$ /category/marca/ducati-marca/$1 [R=301,NC,L]<br />
RewriteRule ^category/marche/aston-martin/(.<em>)$ /category/marca/aston-martin-marca/$1 [R=301,NC,L]<br />
RewriteRule ^category/speciali/navigatori-gps/(.</em>)$ /category/speciali/navigatori-gps-marca/$1 [R=301,NC,L]<br />
RewriteRule ^category/marche/land-rover/(.<em>)$ /category/marca/land-rover-marca/$1 [R=301,NC,L]<br />
RewriteRule ^category/marche/toyota/(.</em>)$ /category/marca/toyota-marca/$1 [R=301,NC,L]<br />
RewriteRule ^category/marche/volvo/(.<em>)$ /category/marca/volvo-marca/$1 [R=301,NC,L]<br />
RewriteRule ^category/marche/ford/(.</em>)$ /category/marca/ford-marca/$1 [R=301,NC,L]<br />
RewriteRule ^category/speciali/cinema-e-tv/(.<em>)$ /category/speciali/cinema-e-tv-marca/$1 [R=301,NC,L]<br />
RewriteRule ^category/marche/hyundai/(.</em>)$ /category/marca/hyundai-marca/$1 [R=301,NC,L]<br />
RewriteRule ^category/marche/jaguar/(.<em>)$ /category/marca/jaguar-marca/$1 [R=301,NC,L]<br />
RewriteRule ^category/speciali/ginevra-2007/(.</em>)$ /category/speciali/ginevra-2007-marca/$1 [R=301,NC,L]<br />
RewriteRule ^category/marche/dodge/(.<em>)$ /category/marca/dodge-marca/$1 [R=301,NC,L]<br />
RewriteRule ^category/marche/cadillac/(.</em>)$ /category/marca/cadillac-marca/$1 [R=301,NC,L]<br />
RewriteRule ^category/marche/saab/(.<em>)$ /category/marca/saab-marca/$1 [R=301,NC,L]<br />
RewriteRule ^category/marche/opel/(.</em>)$ /category/marca/opel-marca/$1 [R=301,NC,L]<br />
RewriteRule ^category/marche/fiat/(.<em>)$ /category/marca/fiat-marca/$1 [R=301,NC,L]<br />
RewriteRule ^category/marche/lamborghini/(.</em>)$ /category/marca/lamborghini-marca/$1 [R=301,NC,L]<br />
RewriteRule ^category/marche/mazda/(.<em>)$ /category/marca/mazda-marca/$1 [R=301,NC,L]<br />
RewriteRule ^category/marche/renault/(.</em>)$ /category/marca/renault-marca/$1 [R=301,NC,L]<br />
RewriteRule ^category/marche/yamaha/(.<em>)$ /category/marca/yamaha-marca/$1 [R=301,NC,L]<br />
RewriteRule ^category/marche/lancia/(.</em>)$ /category/marca/lancia-marca/$1 [R=301,NC,L]<br />
RewriteRule ^category/marche/de-lorean/(.<em>)$ /category/marca/de-lorean-marca/$1 [R=301,NC,L]<br />
RewriteRule ^category/marche/guzzi/(.</em>)$ /category/marca/guzzi-marca/$1 [R=301,NC,L]<br />
RewriteRule ^category/marche/koenigsegg/(.*)$ /category/marca/koenigsegg-marca/$1 [R=301,NC,L]</p>
<h1>BEGIN WordPress</h1>
<p dir="auto">RewriteEngine On<br />
RewriteBase /<br />
RewriteRule ^index.php$ ? [L]<br />
RewriteCond %{REQUEST_FILENAME} !-f<br />
RewriteCond %{REQUEST_FILENAME} !-d<br />
RewriteRule . /index.php [L]</p>
<h1>END WordPress</h1>
]]></description><link>https://dev.connect.gt/topic/202750/errore-404-redirect-301-nel-file-htaccess</link><generator>RSS for Node</generator><lastBuildDate>Wed, 25 Nov 2026 19:11:00 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/202750.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 31 May 2014 12:58:50 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Errore 404 + redirect 301 nel file htaccess on Sun, 01 Jun 2014 19:51:37 GMT]]></title><description><![CDATA[<p dir="auto">Non riesco così ad occhio a controllare l'.htaccess, servirebbe un po' di tempo, per esperienza io lascio sempre prima le direttive di WP in alto e i 301 li metto solo dopo.<br />
Intanto questa è una prova che puoi fare facilmente.</p>
<p dir="auto">Inoltre stai utilizzando un server linux con apache vero?<br />
Riporta sempre l'errore che ti ritorna il server, così è più facile capire cos'è che non va.</p>
]]></description><link>https://dev.connect.gt/post/1163219</link><guid isPermaLink="true">https://dev.connect.gt/post/1163219</guid><dc:creator><![CDATA[a.petrucci]]></dc:creator><pubDate>Sun, 01 Jun 2014 19:51:37 GMT</pubDate></item></channel></rss>