Home › Forum › Problemi Vari con WP › Ho un problema con la funzione multisito di wordpress
-
AutorePost
-
-
6 Giugno 2011 alle 15:24 #18102alelloPartecipante
Salve a tutti, ho eseguito alla lettera la guida dal sito ufficiale per l’attivazione della funzione multisito.
Il sito è hostato su ovh, l’assistenza mi dice che il dns jolly è configurato perfettamente.
Devo creare un network con sottodomini.
network.it è funzionante
ma sito1.network.it e gli altri che creo non funzionano o meglio vengono creati nel pannello ma sono accessibili. Non viene creato il sottoblog, se vi accedo da browser mi da la pagina di ovh base per tutti i sottodomini quindi il wildcard è ok..
non riesco ad accedere a sito1.network.it/wp-login.php ne ad altri sotto categorie, inesistenti.
Ma questi sottoblog sono creati dove? nella cartella blogs.dir? perchè questa rimane vuota. E’ normale?
Ho creato questa cartella in wp-content con gli stessi permessi che ha wp-content come è scritto nella guida.
Altra cosa: non mi appare il menu super admin, ma accedo alla reste con “Amministra rete” in alto a destra. ho letto che è una novità di di wp 3.1 è giusto ? E’ normale che non appaia vero? (Ve lo chiedo perchè appare in tutte le guide) non vorrei che non appaia per qualche errore.
Ecco la mia situazione. Mi sapete dire dove potrebbe essere il problema?
Grazie mille a tutti…
-
6 Giugno 2011 alle 17:01 #85175zhenyaPartecipante
Nel wp-config.php hai messo il define apposito? Ed il file .htaccess customizzato a dovere?
-
6 Giugno 2011 alle 17:58 #85177alelloPartecipante
si certo. ho seguita questa guida:
-
6 Giugno 2011 alle 20:59 #85184zhenyaPartecipante
L’Host è share oppure come? Hai accesso al file php.ini?
Se sei ultra sicuro di aver fatto tutto giusto, allora al momento fai un backup locale del file .htaccess, poi in una copia scrivici in alto questo:::
php_flag register_globals 0
php_flag display_errors 0
Uppalo nel server e vedi se funge o se, in alternativa, da un errore 500. In quest’ultimo caso rimetti al suo posto htaccess di origine.
-
7 Giugno 2011 alle 7:36 #85192alelloPartecipante
grazie per l’aiuto. Con le righe in htaccess mi dava errore all’accesso al sito e quindi le ho tolte..
riguardo al file php.ini
dal pannello ovh:
ecco il mio file php.ini
E’ possibile modificare i valori di register_globals, magic_quotes, Zend Optimizer e anche scegliere tra PHP 4 e PHP 5 grazie all’istruzione SetEnv tramite il file .htaccess ,
che è da creare come file di testo (con il blocco-note di Windows o con qualsiasi altro editor di testo) e poi da spostare nella cartella dati del vostro sito.
Esempio:
SetEnv REGISTER_GLOBALS 0
SetEnv ZEND_OPTIMIZER 1
SetEnv MAGIC_QUOTES 1
SetEnv PHP_VER 5
Configurazione del valore session.use_trans_sid
Ci sono due metodi di propagazione dell’identificativo di sessione : Cookies e URL.
Esempio
Affinchè l’identificativo di sessione sia messo nei cookie, editate il file .htaccess :
SetEnv SESSION_USE_TRANS_SID 0
-
7 Giugno 2011 alle 19:45 #85234zhenyaPartecipante
Se le cose son state fatte tutte a regola d’arte unico possibile problema è il server; un sistemista che si mette a vedere le configurazioni ed a ravanarlo per farlo partire costa un tot l’ora. Ed inoltre questo esula dal supporto che si da qui sul forum, anche poiché non è in tema WordPress ma Apache, Php, ecc.
Il consigli è quindi quello di aprire un ticket con il servizio host e fargli presente che la loro configurazione coccia con quanto richiesto da WPmu; direi che se l’acquisto lo hai fatto con quella finalità ed avevi chiesto se il loro server lo supporta, allora dovrebbero darti assistenza.. Ergo, se compero l’host e mi assicurano sia espressamente per WPmu, se non va recedo oppure me lo mettono in grado di partire.
-
7 Giugno 2011 alle 20:52 #85237alelloPartecipante
c’è qualcuno che usi la funzione multisito di wordpress e che mi sappia dire dove dovrebbero risiedere i file di ogni sottoblog creato? La mia idea è che wordpress non riesce a scrivere sul server i file necessari alla nuova istanza del blog quando esso viene creato.
vanno in blogs.dir? La cartella rimane vuota. o dove?
-
7 Giugno 2011 alle 23:29 #85241zhenyaPartecipante
In genere blogs.dir dovrebbe avere gli stessi permessi della cartella wp-content.
Nel file httpd.conf (o dove sta VHOST) hai inserito ServerAlias *.iltuodominio.it spero..
-
8 Giugno 2011 alle 8:25 #85242alelloPartecipante
dove dovrebbero risiedere i file di ogni sottoblog creato?
vanno in blogs.dir? La cartella rimane vuota. o dove?
*.iltuodominio.it
certo zhenya. ho creato il dns jolly dal pannello ovh. Ovh dice che è tutto ok con il wildcard dns
-
8 Giugno 2011 alle 8:38 #85243wollyAmministratore del forum
state parlando di 2 cose diverse, hai fatto quello che ha detto zhenia? altriemnti non funzionerà mai.
-
8 Giugno 2011 alle 8:44 #85244zhenyaPartecipante
Infatti siamo probabilmente arrivati al nocciolo del problema; gestione dns è ok, questo l’avevamo capito ed è anche ciò che afferma il tuo servizio hosting. Ma il file httpd.conf è tutt’altra cosa, e li, idem, ci van scritte delle regole..
p.s.
La blogs.dir equivale un po’ alla cartella uploads di una normale installazione di wp, conterrà i media (foto, file, ecc.) degli utenti del network.
-
8 Giugno 2011 alle 9:42 #85245alelloPartecipante
siamo probabilmente arrivati al nocciolo del problema
speriamo!!!
no non ho modificato questo file, dove si trova? sono connesso al server con filezilla. GRAZIE!!!!
update:
ah, httpd.conf è il file di configurazione di apache giusto? E posso modificarlo io che sono su hosting condiviso? Sti sbirciando un pò sul pannello di controllo di ovh, se avete qualche suggerimento, dite pure … Grazie!!!
update:
ma quando dal pannello ovh creo il dns jolly
Record Tipo Indirizzo di destinazione
*.dominio.it A ip
non inserisce anche il comando in httpd.conf?
Questi due comandi hanno cue compiti diversi? A che serve modificare il file http.conf?
E all’interno di questo devo inserire questa riga? ServerAlias *.iltuodominio.it
Vi chiedo questo perchè a questo punto chiamo anche l’assistenza ovh, pensavo che era qualche errore di wp.
-
8 Giugno 2011 alle 10:44 #85249zhenyaPartecipante
Beh il fatto sta sulla impossibilità di intervenire in quel file quando si ha un hosting condiviso (ho i miei dubbi, ma alcuni lo permettono), quindi il tuo host, aprendo un ticket, dovrebbe dirti dove metter mano per fare queste cose che ti elenco qui:::
– Nella sezione VirtualHost? del file di configurazione (il famoso httpd.conf) trova la voce che definisce hostname. Devi aggiungere ServerAlias *.ilmiosito.it
– Sempre in httpd.conf dovresti vedere, o aggiungere se manca, LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so
Invece nella direttiva Directory, trova AllowOverride None e sostituiscilo in AllowOverride FileInfo Options
http://ie.php.net/configuration.changes
Se quelli affermano nelle info (o ti avevano assicurato domandando) che è possibile aprire il network senza dover prendere un server virtuale oppure un dedicato, allora si tratta solo di trovare (o chieder a loro) sti “benedetti” file di configurazione e settaggi di Apache.
@edit
Immagino che, come d’altronde è possibile in tutti gli hosting, hai comperato un servizio del tipo “fai da te”, quindi senza pagare il botto mensile per l’assistenza dedicata.
Sappi però che metter le mani in queste cose non è come giocherellare con WordPress; quindi se ti cimenti nell’impresa io non mi assumo alcuna responsabilità sul fatto che potresti non riuscire o, addirittura, piantar qualche casino nel server e poi dover chiedere l’intervento del sistemista pagando. Ergo, le mani si mettono dove si sa quel che si sta facendo!
-
8 Giugno 2011 alle 14:08 #85258alelloPartecipante
Ho chiesto all’assistenza se era possibile modificare il file httpd.conf per inserire ServerAlias *.iltuodominio.it
Mi hanno detto che: Lato apache il server è già predisposto, altrimenti non risponderebbe alle richieste jolly quali :
Cosa faccio?
-
8 Giugno 2011 alle 18:13 #85268zhenyaPartecipante
Sta di fatto che se crei i subdomini non puoi accedervi.. e questo è un problema, o di permessi delle directory o del server apache non configurato a dovere.
-
22 Giugno 2011 alle 9:12 #85768alelloPartecipante
Ciao, ho contattato OVH, dicono che non ci sono sottodomini. Ed ho visto dal pannello in effetti non ci sono. Ma su wordpress riesco a creare i sottodomini, cioè mi dice che ci sono i siti ma non riesce a creare i sottodomini.
ovh dice che wordpress non influisce sul loro pannello manager quindi devo creare manualmente io i sottodomini.
Devo crearli manualmente io???
Se si, dove devono risiedere? li metto in www/?
Se no, qual’è il problema? Come faccio a risolvere? Grazie!
-
22 Giugno 2011 alle 9:23 #85769wollyAmministratore del forum
se crei tu i sootodomini non cambia nulla, è wp che li gestisce ma, devi aver configurato correttamente anche i virtual host su apache cosa che al momento sembra non essere e dubito che su uno shared hosting tu lo possa fare.
-
17 Luglio 2012 alle 13:42 #96647Niubbo75Partecipante
Buongiorno a tutti, sono nuovo del forum e non ho mai utilizzato wordpress, ho un problema simile dal quale non riesco a trovare soluzione in rete, dovrei fare un’installazione MU su server di mia proprietà (quindi ho completo accesso a tutte le configurazioni) solo che, a differenza di quanto ho trovato in rete, io vorrei creare un network (mi pare venga chiamato cosà¬) ma del tipo: mydomain1.com mydomain2.com etc. etc. ovvero non utilizzando dei terzi livelli ma un nome a dominio per ogni sito, è possibile? Se si, come dovrò configurare i puntamenti di apache? Utilizzero per tutti i domini la root dell’installazione principale di wp oppure dovrò provvedere a fare altro? I domini “secondari” dove risiederanno? Dovrò creare delle cartelle per ogni dominio, presuppongo, queste cartelle come dovrò nominarle per far gestire il multisites da wordpress? Ci sono particolari configurazioni da fare a wordpress oppure valgono quelle che ho trovato per creare il network di tipo blog1.mydomain.com blog2.mydomain.com ?
Grazie a tutti quelli che risponderanno ai miei quesiti, ciao ciao.
-
17 Luglio 2012 alle 16:42 #96655San PietroburgoPartecipante
..vorrei creare un network (mi pare venga chiamato cosà¬) ma del tipo: mydomain1.com mydomain2.com etc. etc. ovvero non utilizzando dei terzi livelli ma un nome a dominio per ogni sito, è possibile?
WordPress non è nativo per il multidominio ma esiste la possibilità di trasformarlo, con un paio di plugin curati dalla stessa Automattic, a CMS multidominio.
http://wordpress.org/extend/plugins/wordpress-mu-domain-mapping/
Esisteva (ed ancora esiste) WordPress Hive per questo, ma il consiglio è di rivolgersi ai plugin Automattic poiché c’è maggiore garanzia che verranno sempre aggiornati in futuro.
..come dovrò configurare i puntamenti di apache? Utilizzero per tutti i domini la root dell’installazione principale di wp oppure dovrò provvedere a fare altro?
Prendere un server dedicato non gestito significa non riuscire poi nelle configurazione; argomento che esula dall’assistenza fornita su questo forum; ed in rete troverai poco, giacché quella del sysadmin è una professione. Comunque sà¬, per tutti i domini WordPress userà la root.
I domini “secondari” dove risiederanno? Dovrò creare delle cartelle per ogni dominio, presuppongo, queste cartelle come dovrò nominarle per far gestire il multisites da wordpress? Ci sono particolari configurazioni da fare a wordpress oppure valgono quelle che ho trovato per creare il network
Più o meno è come per il NetWork; il plugin Domain Mapping ed il relativo suo supporto in lingua inglese (sempre su wordpress.org), spiega bene tutta la procedura di configurazione:
http://wordpress.org/support/plugin/wordpress-mu-domain-mapping
-
17 Luglio 2012 alle 18:47 #96658Niubbo75Partecipante
Grazie mille per la risposta più che esaustiva!
Una sola precisazione:
..come dovrò configurare i puntamenti di apache? Utilizzero per tutti i domini la root dell’installazione principale di wp oppure dovrò provvedere a fare altro?
Prendere un server dedicato non gestito significa non riuscire poi nelle configurazione; argomento che esula dall’assistenza fornita su questo forum; ed in rete troverai poco, giacché quella del sysadmin è una professione. Comunque sà¬, per tutti i domini WordPress userà la root.
Non ho preso un server dedicato, si tratta di uno dei server presenti nella mia webfarm, sono pienamente daccordo con te, il mio lavoro (sysadmin) richiede effettivamente delle conoscenze, non ci si può improvvisare (a meno che non si voglia “giochicchiare” a casa, allora tutto va bene, se lo scopo ultimo è “passare il tempo”), i miei dubbi riguardavano solo la possibilità di realizzare quanto mi è stato richiesto e se i puntamenti dei vari nomi a dominio dovessero essere configurati tutti sulla root dove si trova l’installazione master, dubbi che mi hai completamente tolto
Grazie mille, ciao ciao.
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.