Home › Forum › Problemi Vari con WP › Error 500,come su puo risolvere??
-
AutorePost
-
-
9 Ottobre 2011 alle 12:49 #19382DeninMurdochPartecipante
ciao a tt
ho errore 500 con l ultimo wordpress e hosting godaddy, credo che si sia generato perchè ho cambiato i permalinks da default in month/names per essere seo friendly!
ora non trovo soluzioni sul web e il file htaccess che forse poteva aiutarmi non esiste!
sapete dirmi come risolvere il problema??
una nuova reinstallazione di wordpress ad esempio??
-
9 Ottobre 2011 alle 20:36 #88740TittiModeratore
Andare nella pagina Impostazioni –> Permalink, creare il file .htaccess sul server mettendoci dentro quello che c’è scritto e poi aggiornare il tutto
-
9 Ottobre 2011 alle 21:08 #88741DeninMurdochPartecipante
grazie titti, ora mi sono incasinato e non capisco piu nulla
ho fatto due cose
1 ho cambiato i permalink dal database e non andava
2 ho usato questo script che era all interno dell articolo sui permalink di wordpress, proprio per l hosting windows godaddy che nega l accesso o cancella non so bene il file htaccess,
questo va a modificare il file web.config
<rewrite>
<rules>
<rule name=”Main Rule” stopProcessing=”true”>
<match url=”.*” />
<conditions logicalGrouping=”MatchAll”>
<add input=”{REQUEST_FILENAME}” matchType=”IsFile” negate=”true” />
<add input=”{REQUEST_FILENAME}” matchType=”IsDirectory” negate=”true” />
</conditions>
<action type=”Rewrite” url=”index.php/{R:0}” />
</rule>
</rules>
</rewrite>
a questo punto è apparso il mio blog (prima non potevo accedere nemmeno in admin panel) però non funzionavano i permalink, mi spiego, gli articoli venivano linkati ad una pagina vuota e nella barra degli indirizzi appariva solo il numero id anzichè il tipico ?id=”numero”.
allora ho provato dal pannello di qwrodpress a tornare all originale default, ma nuovo errore 500.
cosa devo inserire nel file htaccess esattamente??
-
10 Ottobre 2011 alle 6:03 #88742TittiModeratore
Ah, sei su Windows, e il server di Windows (di solito IIS, non Apache) non supporta il mod-rewrite per riscrivere gli URL, .htaccess è una direttiva di Apache, è meglio passare a Linux per far girare bene WP.
@ edit: per fare lo “switch” a Linux devi chiedere al tuo host, o su come risolvere il problema su Windows devi cercare informazioni altrove perché qui non si fa assistenza per installazioni su hosting Windows (vedi topic in evidenza in home page)
-
10 Ottobre 2011 alle 12:13 #88746DeninMurdochPartecipante
ok ti ringraazio, switch to linux partito, ci vorranno alcuni giorni, speriam bene!
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.