Ciao a tutti
sto cercando di modificare i permalink del mio sito. Attualmente gli indirizzi delle pagine/articoli sono del tipo http://www.miosito.it/?p=1234 oppure http://www.miosoto.it/?page_id=1234.
Ovviamente a me piacerebbe molto utilizzare una visualizzazione tipo http://www.miosito.it/titolo-dell-articolo
Questo ovviamente l’ho fatto semplicemente modificando le impostazioni in WP dei permalink. Ciò però mi ha dato un malfunzionamento per me molto grave. Utilizzo infatti uno script (una semplice switch) dove se è selezionata una particolare page_id (recupero l’id con il metodo GET attraverso l’Array globale $_GET) scrivo del testo aggiuntivo prima del LOOP.
Modificando i permalink page_id non esiste più. Mi chiedo come faccio ad identificare quale sia la pagina che sto visualizzando. Che metodo dovrei usare??
Se avete un idea!?!!?
Grazie