Home › Forum › Problemi Vari con WP › redirect 301 articoli htaccess o altro?
-
AutorePost
-
-
20 Giugno 2008 alle 16:04 #7058MarcuswebberPartecipante
Salve, sono nuovo del forum. Subito un bel quesito per voi ragazzi.
Ho le url su google indicizzate cosi: articolo.html e vorrei averle cosi articolo-1234.html.Senza fare su htaccess il redirect 301 a mano per ogni articolo
(circa 4100 articoli), cè un modo semplice per redirigere col 301 quelle pagine in modo automatico?
Io ho pensato a questo, però la regola esatta dell’HTACCESS non la conosco, comunque potrebbe essere una cosa del genere:
Redirect 301 /%postname.html /%postname%-%day%%monthnum%%year%%post_id%.html
-
20 Giugno 2008 alle 20:35 #55033
-
21 Giugno 2008 alle 4:15 #55035MarcuswebberPartecipante
Ciao e grazie per la risposta.
Le ricerche le ho fatte eccome e quel plugin già l’avevo provato, ma non fa proprio nulla di quello che mi occorre.
Forse non hai capito bene cosa devo fare.
Grazie per la disponibilità .
-
21 Giugno 2008 alle 7:06 #55036SteveAglAmministratore del forum
-
21 Giugno 2008 alle 14:22 #55058MarcuswebberPartecipante
Perfetto!
Da quello che ho capito fa ciò che voglio.
Il guai è che non so settarlo bene.
Per caso conosci come fare?
Sei stato di un’utilità per i miei quesiti.
Grazie.
-
21 Giugno 2008 alle 14:58 #55059SteveAglAmministratore del forum
Mai usato ma mi pare che basti impostare una regola con la vecchia struttura permalink e quella nuova per avere la redirezione automatica es se prima avevi %postaname%.html e vuoi ad es. %category%/%postname% scrivi proprio le due stringhe cosi come sono… per gli articoli si specifica un range di ID che nel caso si voglia un cambio generale basta impostare l’inizio a 0 e la fine a -1, il tutto visto sulla pagina del plugin:
-
21 Giugno 2008 alle 17:39 #55071MarcuswebberPartecipante
perfetto, provato e testato e super funzionante senza usare htaccess e 2000000 righe di redirect.
risolto in un solo giorno di apertura del thread
Grazie ancora per la disponibilità .
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.