Home › Forum › Problemi Vari con WP › Problema permalink – errore 404
-
AutorePost
-
-
18 Dicembre 2013 alle 18:06 #26185albros88Partecipante
Salve a tutti,
premessa: sito in wp 3.7.1; già provato a mettere tema standard e disattivare plugins; già provato a rigrenerare i permalinks.
Il problema rimane ed è questo:
Se imposto i permalink su “predefinito”, tutto funziona.
Se cambio i permalink a “nome articolo” (ed è la soluzione che devo assolutamente utilizzare), si vede solo la home page mentre nelle altre pagine dà errore 404.
Ho anche già contattato l’hosting, il quale dice che htaccess e mod_rewrite sono a posto.
Qualcuno ha un’idea????
Grazie!
Albe
-
18 Dicembre 2013 alle 18:17 #108478wollyAmministratore del forum
il file htaccess esiste?
che tipo di server utilizzi?
-
18 Dicembre 2013 alle 18:22 #108479albros88Partecipante
il sito è su server Linux, tra l’altro nello stesso server in cui ho già fatto un sito identico ma in un’altra lingua.
il file htaccess esiste, lo sto controllando. E’ questo:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Scusa l’ignoranza, ma le sto pensando tutte: aprendolo in txt, tutto il codice di cui sopra è scritto di seguito, cioè non va a capo. C’entra qualcosa?
Grazie.
-
18 Dicembre 2013 alle 18:37 #108480albros88Partecipante
…aggiungo che i permessi del file htaccess sono impostati su 644
-
18 Dicembre 2013 alle 18:57 #108481SteveAglAmministratore del forum
http://wordpress.org/support/topic/permalinks-rewrite-ok-but-always-give-404-when-hit?replies=10
potrebbe essere il problema del conig del virtual host non i,postato correttamente… questo spiegherebbe perche un sito va e l’altro no.. chiedere al fornitore di hosting linkandogli la discussione
-
18 Dicembre 2013 alle 19:00 #108482albros88Partecipante
grazie Steve, provvedo subito a chiedere all’hosting e vi faccio sapere
-
19 Dicembre 2013 alle 8:02 #108494albros88Partecipante
Salve,
ho contattato l’hosting e spiegato tutta la situazione, compreso il link che mi avete inviato.
Come temevo, mi hanno risposto che hanno fatto delle prove e per loro è tutto a posto (htaccess, vhost, mod rewrite, …) e il problema è di WordPress.
Ora sono nei guai.
Dovrei provare a disinstallare wp e reinstallarlo (magari la versione 3.?
Se sà¬, vi chiedo: il database posso lasciarlo lଠe disinstallare solo le cartelle wp, oppure è meglio cancellare e rifare anche il db? (è un sito che avevo appena iniziato, non perdo un granché di dati).
Grazie
-
19 Dicembre 2013 alle 8:11 #108495wollyAmministratore del forum
Se vuoi un consiglio spassionato, cambia provider.
Ci sono circa 70.000.000 di installazioni di WordPress nel mondo che non hanno quel problema quindi credo sia facile capire chi abbia torto e chi ragione.
-
19 Dicembre 2013 alle 8:19 #108496albros88Partecipante
Ciao Wolly,
grazie per il consiglio, lo farei subito ma il cliente non ne vuole sapere, cercherò di convincerlo…
Nel frattempo, cosa mi dici dell’ipotesi di reinstallare wp? (lasciando il database?)
ALbe
-
19 Dicembre 2013 alle 8:27 #108497albros88Partecipante
Per la cronaca, l’hosting (che non è neanche uno piccolo, è americano, non faccio nomi per non fargli pubblicità ), mi risponde:
“Permalinks are not related to the hosting settings and if a specific setting for your permalinks is not working, it falls entirely into the realm of being a problem with WordPress itself”.
Io ho già contestato loro il fatto che, come dicono, “i permalink non sono correlati al settaggio dell’hosting”, Dico bene????
-
19 Dicembre 2013 alle 9:55 #108499SteveAglAmministratore del forum
se con tema base e nessun plugin attivo il problema persiste (provando a pasare dallo stato attuale alla struttura base e poi di nuovo ai permalink il problema NON è di WP se no sarebbero in milioni ad averlo e come indicato nelal discussione linkata potrebbe dipendere da un settimng del virtualhost checcè ne dica il provider.
Se il cliente vuole capire la cosa ok.. se no cambia hosting, o si tiene i permalink attuali non ci sono grandi alternative. FOssi io copierei tutto metterei dti e database su un mio server mi metterei nell’host del pc quel dominio con l’ip del server e proverei 8ovvio devi avere un dedicato o una vps almeno) e dimostrerei la cliente che li va…
-
19 Dicembre 2013 alle 13:08 #108504albros88Partecipante
Indovina un po’????
Mi ha appena scritto il supporto hosting dicendo che hanno risolto il problema, sistemando il file httpd.conf in modo che richiami il file .htaccess
Grazie mille per il vostro supporto, se non avessi avuto i vostri riscontri non avrei insistito cosଠtanto con l’hosting, per riuscire finalmente a farli ragionare!
A presto,
Alberto
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.