Home › Forum › Problemi Vari con WP › Errore 404 Not Found Permalink htaccess
-
AutorePost
-
-
6 Giugno 2008 alle 20:39 #6894rosariodamorePartecipante
Ciao Ragazzi,
ho un problema coi permalink di wordpress. Ho seguito le vostre istruzioni:
– Creato il File htaccess
– Inserito il seguente codice:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
– Impostato i permessi 777 su htacces
– Caricato sullo spazio ftp
– Impostato il permalink /%postname%.html
Vado su un post e mi da un errore non mi carica la pagina:
Not Found
The requested URL /hello-world.html was not found on this server.
Apache/2.2.3 (CentOS) Server at http://www.sito.it Port 80
Mi aiutate perfavore? Sto impazzendo….
-
6 Giugno 2008 alle 20:56 #54447IlbellodelwebPartecipante
Ciao Rosario, sono Damiano! ti ricordi (la7)
senti, ma che caz…. di fine hai fatto?
Che cosa è questo file? A che coisa serve?
-
7 Giugno 2008 alle 8:08 #54453SteveAglAmministratore del forum
A) Perchè nonlasciar crare a WP il file htaccess?
SUl forum inglese alcuni segnalano problemi con .html, provato a non metterlo?
C) I test consigliati quando hai paerto la discussione che esito han dato? (Quali test non è una risposta corretta)
Domanda: perchè vuoi per forza mettere un .html? Non dirmi che è per google perchè non serve a nulla…
-
7 Giugno 2008 alle 12:25 #54457rosariodamorePartecipante
@ Damiano
Damiano ciao! Certo che mi ricordo! Adesso lavoro e studio a Palermo.
Avevo problemi a cambiare il Permalik per il posizionamento su Google. Tu che mi racconti? Ormai sei un grande giornalista professionista…Quanto ti vedro al posto di Pirroso?
Si l’obiettivo è il posizionamento. Ma ma il problema non è il .html perchè ho provato a cambiare il permalink anche di altri tipi e non funzionano. Come faccio a far creare a WP il file htaccess? L’unico permalink che funziona correttamente è quello ?p=123
Hai Qualche consiglio?
-
7 Giugno 2008 alle 14:53 #54467SteveAglAmministratore del forum
Sul forum inglese hanno segnalato problemi con permalink composti solo da %postname%, prova una configurazione diversa es /%year%/%postname%. Quando premi il pulsante aggiorna permalink WP genera il file .htaccess automaticamente o se non riesce per problemi di permessi ti scrive cosa inserire nel file (che poi è quello che hai scritto tu perchè l’effettivo reindirizzamento lo fa WP al suo interno.
Aggiungere ,html ai file non migliore il posizionamento, almeno su google.. il buon posizionamento di sito con buoni contenuti vien da solo… poi il resto sono affinamenti ma di certo oggi i motori non prediligono file html ad altri… come da tempo google indicizza bene anche url con parametri.. se il contenuto è buono.
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.