Home › Forum › Problemi Vari con WP › Link che non funzionano
-
AutorePost
-
-
24 Febbraio 2006 alle 15:04 #1083MrBohPartecipante
Salve
Io ho un sito con questa struttura:
Index.html come pagina di presentazione al primo accesso, che linka poi alla prima pagina con il blog index.php, qui tutto funziona, solo che tutti i link, commenti etc, linkano a index.html e non ai commenti etc.
Da precisare che io ho l’index.php del blog nella root principale e tutti gli altri files del blog in nomesito/wordpress
Il link alla pagina del blog è: http://www.u2bad.com/index.php
grazie mille
MrBoh
-
24 Febbraio 2006 alle 15:38 #37224SteveAglAmministratore del forum
attiva i permalink la seconda o terza opzione ma prima di salvarli anteponi index.php nella casella dove appare la struttura dei permalink. Questo dovrebbe risolvere.
-
24 Febbraio 2006 alle 15:47 #37228MrBohPartecipante
Grazie!!!!
Sembra funzionare adesso…
grazie e ciao
MrBoh
-
28 Novembre 2007 alle 16:03 #48326novellinoPartecipante
Non apro un’altra discussione perché ho trovato questa. Io ho dei problemi con i permalink. Vorrei che lindirizzo della pagina contatti sia: http://www.XXXXXX.it/contatti. Per fare questo ho creato il file .htaccess con le regole che mi indicava wordpress e ora il blog è in grado gi aggiornarli. Il problema è che se clicco sul pulsante contatti nel menu, vengo indirizzatto al seguente indirizzo http://www.XXXXXX.it/contatti ma mi dice che il server non trova la pagina. Poi mi sono imbattuto in questa discussione e ho provato ad aggiornare la struttura dei permalink con questi paramentri: /index.php/%postname%/. Provando a cliccare ora i collegamenti funzionano ma restituiscono un indirizzo di pagina bruttissimo e cioè http://www.XXXXXX.it/index.php/contatti/. àˆ possibile apportare qualche miglioramento?
-
28 Novembre 2007 alle 16:25 #48328SteveAglAmministratore del forum
Perchè complicarsi la vita e non lasciar fare tutto a WordPress, vai su Opzioni->Permalinks (magari prima butta il tuo .htaccess fatto a mano) scegli il formato che preferisci per i permalink e aggiornali e WP scriverà il file .htaccess corretto.
Pare l’U.C.A.S. Uffico Complicazione Affari Semplici. Suggerirei anche un giro per il pannello di amministrazione di WordPress per capire cosa fa e dove
-
28 Novembre 2007 alle 16:52 #48333novellinoPartecipante
La cosa bella è che non lo facci a posta. Il file lo copiato da un altro mio blog in quanto nell’altro blog, quello per il quale ho chiesto aiuto, non me lo crea in automatico. Quindi non ho potuto cancellarlo per farlo ricreare a wordpress, però ne ho cancellato il contenuto ma il risultato è sempre lo stesso:
Not Found
The requested URL /contatti/ was not found on this server.
Dove sbaglio questa volta?
-
28 Novembre 2007 alle 17:14 #48336SteveAglAmministratore del forum
Non ho capito nulla su quale sia il blog che copi e quale va o non va.. insomma… senza link corretti non è possibile. Se però poi non vuoi che appaiano i link ai blog.. beh non posso aiutarti (non ho intenzione di correggere a mano i post ogni volta).
Se WP non scrive il file .htaccess deve dare un messaggio di errore che la directory non è scrivibile, se no non ho idea che sia.. suggerire un help dal proprio fornitore di hosting prima per risolvere il problema.
-
28 Novembre 2007 alle 20:12 #48341novellinoPartecipante
Non è che non voglio che i link appaiano è solo che uno è on-line e l’altro, quello che non funziona, è in locale. Cerco di spiegarmi meglio. Il blog che sto realizzando in locale non mi crea automaticamente il file .htaccess il server è ok. Per ovviare a questa situazione ho preso il file .htaccess del blog che ho on-line e tramite client FTP lo trasferito nella cartella principale del blog locale. Ho cambiato i permessi e wordpress mi ha cambiato i permalink. Il problema è che quando clicco sui pulsanti del menu vengo indirizzato ad una pagina che presenta l’indirizzo che io ho scelto http://127.0.0.1/wordpress/contatti però mi si visualizza l’errore di cui sopra. Fatto questo ho rispolverato questa discussione e ho provato a seguire i tuoi consigli ma dato che il file .htaccess non si crea automaticamente non l’ho potuto cancellarlo e ne ho cancellato solo il contenuto. Ho aggiornato nuovamente i permalink il file .htaccess si è ricompilato ma se clicco sui pulsanti vengo reindirizzato in una pagina che mi da il seguente errore:
The requested URL /contatti/ was not found on this server.
Se nella struttura dei permalink scrivo, al posto di /%postname%/, /index.php/%postname%/ funziona tutto ma il risultato è un indirizzo bruttissimo: http://127.0.0.1/wordpress/index.php/contatti/. Spero di essermi chiarito.
-
29 Novembre 2007 alle 12:32 #48347SteveAglAmministratore del forum
Il server locale è sotto windows o Linux? Probabilmente vi sono differenze di configurazione fra i server online e quello locale, se portassi in locale anche il tema online suppongo che ti si presenterebbe il medesimo errore. Prova a mettere il blog locale online (magari in una subdirectory di uno spazio che hai e verifica che funzionino i permalink.
Io partivo dal presupposto che entrambi i blog fossero online e sul medesimo hosting… e la cosa sarebbbe stata strana, essere su due server diversi configurati diversamente invece potrebbe dare problemi del tipo da te descritto… ma non si tratta di un problema di wordpress.
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.