Home › Forum › Problemi Vari con WP › rimuovere index.php nelle url
-
AutorePost
-
-
4 Marzo 2014 alle 12:29 #26788albros88Partecipante
Salve,
devo intervenire su un sito web fatto da altri, il quale presenta in tutte le pagine la seguente struttura:
www nome sito / index php / nome pagina
Come si può eliminare “index php” tra il nome dominio e il nome delle pagine?
Grazie.
-
4 Marzo 2014 alle 12:49 #110215TittiModeratore
Meno informazioni possibili, mi raccomando!
Il sito è su server windows?
-
4 Marzo 2014 alle 13:13 #110222albros88Partecipante
Il sito è su server Linux
Wordpress è il 3.5
Plugin installati: Akismet, All in One seo, google xml sitemap, OSM, sendit, wp super cache, wpml
Tema: Corona
Spero che questi dati siano sufficienti, altrimenti ditemi cosa manca, grazie.
-
4 Marzo 2014 alle 14:15 #110223albros88Partecipante
Aggiungo un’informazione: nell’impostazione Permalink, è selezionata la voce “personalizzati” con il seguente contenuto:
/index.php/%year%/%monthnum%/%day%/%postname%/
Spero possa essere utile.
-
4 Marzo 2014 alle 14:32 #110224elmaniseroPartecipante
togli index.php
/%year%/%monthnum%/%day%/%postname%/
-
4 Marzo 2014 alle 14:33 #110225TittiModeratore
Scarica via FTP il file .htaccess in locale e sostituisci la parte di WordPress con:
# 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 WordPressSalva e ricarica sovrascrivendo. Poi vai in impostazioni permalink, togli /index.php e salvi.
-
4 Marzo 2014 alle 14:45 #110227albros88Partecipante
Grazie mille, molto gentili.
Un’ultima cosa: vedo ora (scusate, ma mi hanno fornito i dati di accesso da pochissimo) con FTP che il file htaccess non è presente.
Cosa faccio, lo creo io, giusto?
-
4 Marzo 2014 alle 14:49 #110228TittiModeratore
Eh sà¬, altrimenti i permalink non funzionano. Guarda prima tra gli eventuali file nascosti.
-
4 Marzo 2014 alle 14:55 #110229albros88Partecipante
grazie Titti, molto chiaro. Scusa l’ignoranza, dove devo cercare eventuali file nascosti (immagino via ftp)?
-
5 Marzo 2014 alle 7:02 #110237SteveAglAmministratore del forum
elle impostazioni del programma FTP ch usi.. non chiederci di spiegarti come e quale visto che non facciamo assistenza sui software ftp
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.