Visualizzazione 0 filoni di risposte
Visualizzazione 0 filoni di risposte
- Devi essere connesso per rispondere a questo topic.
Email: info@wpitaly.it
Home › Forum › Problemi Vari con WP › Multi Site e Permalink – 404 sulle pagine
Sto lavorando a un sito in più lingue con WordPress e per facilitare l’inserimento dei contenuti ho usato WordPress Multi Site, con WP 3.3.1. àˆ la seconda volta che lo faccio, creo un sottodominio per ogni lingua (con subfolder) e path /$lang/ per le lingue secondarie. La lingua principale è sulla ‘/’. La prima volta è andato tutto liscio come l’olio, questa volta invece sto avendo parecchi problemi con i permalink. Nei domini delle lingue secondarie, sulle pagine statiche, e solo su quelle, mi dà errore 404. Articoli, Archivi, Categorie, Custom Post Type (singole pagine e archivi), funzionano tutti regolarmente. Le pagine non ne vogliono sapere. Ho provato a cancellare il file .htaccess svariate volte. Non so più quante volte ho ri-salvato i permalink. Non c’è stato nulla da fare. Sempre 404.
Il mio .htaccess, attualmente (visto che sul forum di wordpress.org ho trovato diverse soluzioni), è questo:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
# uploaded files
RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*) $1 [L]
RewriteRule ^[_0-9a-zA-Z-]+/(.*.php)$ $1 [L]
RewriteRule . index.php [L]
</IfModule>
WPItaly - Copyright Creative Commons: CC BY-NC-SA 4.0