Joomla.it Forum

Componenti per Joomla! => SEO => : andrea2002 08 Feb 2018, 11:29:02

: Gestione errore 404
: andrea2002 08 Feb 2018, 11:29:02
Un saluto a tutti.
Scrivo perchè mi trovo indicizzate nelle serp alcune URL non desiderate con errore 404:
https://www.pippo.it/page4.php
https://www.pippo.it/page4.php?ImageGalleryPage=2
https://www.pippo.it/page4.php?view=preview&image=14&category=0
https://www.pippo.it/page4.php?view=preview&q=&ImageGalleryPage=2&image=25&category=0
https://www.pippo.it/page4.php?view=preview&q=&ImageGalleryPage=1&image=21&category=0

Pensavo di gestire facendo un redirect del tipo:

redirect 301 /page4.php/ http://www.pippo.it/
redirect 301 /page4.php?ImageGalleryPage=2/ http://www.pippo.it/
redirect 301 /page4.php?view=preview&image=14&category=0/ http://www.pippo.it/
e avanti così per tutte le URL.

Leggendo in giro ho anche letto che probabilmente è possibile impostare un redirect
per tutte quelle URL che hanno la variabile "page4.php", ma ignoro come scrivere la regola.

Grato su qualche consiglio al fine di gestire al meglio il problema.
Grazie
Ciao
Andrea