Home › Forum › Problemi Vari con WP › Non riesco a far funzionare i Permalinks
-
AutorePost
-
-
1 Luglio 2008 alle 14:48 #7152uastasiPartecipante
Ciao a tutti,
sto cercando di cambiare struttura dei permalinks cosà¬:
/%category%/%post_id%/%postname%/
ma non mi funziona!
“The webpage cannot be found”
funziona soltanto la struttura di default: http://127.0.0.1/WP251/?p=123
premetto che ho wordpress 2.5.1
gia provato ad effettuare le modifiche citate su questo sito.
cosa sbaglio?
aiutatemi
grazie
-
1 Luglio 2008 alle 14:52 #55406SteveAglAmministratore del forum
hosting linux o windows?
-
2 Luglio 2008 alle 8:32 #55432uastasiPartecipante
attualmente lo sto testando in locale quindi
WIN XP SP2….
amministratore
ti prego fammi sapere
grazie
-
2 Luglio 2008 alle 8:47 #55433Walter22Partecipante
Devi creare un file chiamato php.ini e metterci un codice che ora non ricordo bene.
Attraverso la funzione cerca di questo sito, scrivi “permalink” e trovi tutto.
-
2 Luglio 2008 alle 9:19 #55434wollyAmministratore del forum
-
2 Luglio 2008 alle 11:32 #55435uastasiPartecipante
Allora….
premetto che la struttura che vorrei è del tipo:
/%category%/%post_id%/%postname%/
CORREGETEMI SE SBAGLIO…
dal momento che uso la versione 2.5.1 la creazione del .htaccess non è necessaria come citato nella
manuale postato da Wolly!
Questo passaggio non è obbligatorio se stai usando WordPress 1.5 dal momento che WordPress 1.5 crea e/o modifica il file .htaccess automaticamente.
sempre leggendo la guida….
Usare i Permalink senza mod_rewrite
come faccio ad abilitare il mod_rewrite se sono in locale?
-
2 Luglio 2008 alle 11:39 #55436wollyAmministratore del forum
la guida non dice quello che dici tu
Ti ho postato il link per farti vedere come attivare i permalink sotto windows IIS se usi quello.
Il file htaccess è obbligatorio lo puoi creare tu oppure se dai i permessi di scrittura te lo crea e aggiorna direttamente wordpress ma questo solo se hai apache e mod_rewrte attivato che si attiva dalla configurazione di apache.
-
2 Luglio 2008 alle 11:52 #55437uastasiPartecipante
aspeta aspetta….non sono stato chiaro!
utilizzo Easy PHP su WIN XP Sp2e non IIS!
mi dici come attivare il mod_rewrite?
inoltre su http://miosito/ è presente .htaccess e contiente:
# BEGIN WordPress
# END WordPress
nient’altro…..
-
2 Luglio 2008 alle 12:36 #55439wollyAmministratore del forum
allora vai su permalinks crea i permalinks che vuoiu e ti dirà se è riuscito ad aggiornare il file oppure ti dirà il codice da inserire nel htaccess.
-
2 Luglio 2008 alle 13:21 #55440uastasiPartecipante
ho risolto cosà¬:
1- Nel Back-end di WordPress andate in OPZIONI -> PERMALINKS.
2- ho scelto la struttura personalizzata utilizzando i tag di worpress inserendo “index.php” prima della struttura del tag da voi scelta. Ad esempio: /index.php/%category%/%postname%/
3- Salvato le modifiche…
tutto funziona…..ma è corretto tutto ciò
-
2 Luglio 2008 alle 13:28 #55441wollyAmministratore del forum
è corretto se non hia il mod rewrite attivo, infatti è il sistema per avere i permalinks anche sotto windows.
per attivare il mod rewrite o cmq verificare se è attivo devi leggere la documentazione di easyphp.
-
3 Luglio 2008 alle 12:11 #55482uastasiPartecipante
ragazzi ancora un po di pazienza…..
ad oggi non sono ancora riuscito ad attivare il mod_rewrite tramite easyphp….
vi prego se notate qualche link interessante postatelo.
grazie
-
3 Luglio 2008 alle 12:25 #55483
-
4 Luglio 2008 alle 9:40 #55536mauropixelPartecipante
Scusate io ho un problema simile, ma non so se dipende dallo stesso di uastasi.
Su un blog che gestisco mi sono reso conto la settimana scorsa di essere stato attaccato e ho avviato tutte le procedure per pulire il codice. A ieri mi sembra di aver pulito tutto e ho anche aggiornato alla 2.5.1 ma tutt’ora il sito non risulta navigabile. Non funzionano i permalink, neanche nella posizione standard!
Di fatto è visibile solo la homepage e nient’altro. Per tutte le altre pagine e post mi dice che non trova la pagina.
Il server è linux
Il sito è dialoghi.net (per poter operare in tranquillità ho dovuto aggiungere una index.html di servizio che rimanda al sito principale).
Mi chiedevo se avete dritte o se qualcuno ha già operato con un problema simile
grazie
-
4 Luglio 2008 alle 10:08 #55537mauropixelPartecipante
ho riscontrato questa anomalia.
I permalink sono settati su /%year%/%monthnum%/%postname%/ ma se clicco sul titolo del post non lo trova. Se però inserisco il link http://www.misito.net/index.php/?p=ID lo raggiunge.
Modificando poi i permalink sulla struttura predefinita e cercando di raggiungere il post con l’indirizzo http://www.misito.net/index.php/?p=ID mi rimanda in homepage
PECCCCH�?? ;(
-
4 Luglio 2008 alle 11:07 #55539mauropixelPartecipante
OK scusate ma sembra che io abbia risolto.
In realtà era una cosa stupidissima.
Prima avevo impostato come indirizzo del blog http://www.miosito.it/index.php e poi nel permalink mi perdevo index.php.
Ora ho messo l’indirizzo su http://www.miosito.it e nel permalink /index/%year%/%monthnum%/%postname%/ ora funziona correttamente.
Non so se è la soluzione giusta ma a me interessa che poi il risultato finale sia questo.
Se avete comunque dei suggerimenti, perché ritenete che non sia la soluzione giusta nel tempo vi chiedo di dirla
ciaooo
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.