• Moderatore

    Problema permalink in wp 2.5

    Ho installato wp 2.5 e tutto ok, funziona alla grande ma poi volevo impostare i permalink come uso in un 'altro wp 2.3.3 ossia messo in questo modo:
    /%category%/%postname%/
    ma se lo metto di restituiesce pagina bianca con scritto

    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.
    Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
    More information about this error may be available in the server error log.
    Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

    Cosa posso fare?
    Grazie mille


  • User Attivo

    c'è qualche problema nel .htaccess il codice errore è 500?
    nel caso ripulisci il file e prova a farlo ricreare altrimenti potresti chiedere delucidazioni al tuo hosting ... attendiamo cmq persone che hanno incontrato lo stesso problema 😉


  • Moderatore

    @YouON said:

    c'è qualche problema nel .htaccess il codice errore è 500?
    nel caso ripulisci il file e prova a farlo ricreare altrimenti potresti chiedere delucidazioni al tuo hosting ... attendiamo cmq persone che hanno incontrato lo stesso problema 😉

    Era il dubbio che avevo e infatti non trovo il file .htaccess provo a cealo e poi ti dico.

    Grazie per ora


  • Moderatore

    Negativo.....:x
    Se creo il file htaccess vuoto appena entro nel blog mi esce questa pagina:

    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.
    Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
    More information about this error may be available in the server error log.
    Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

    Che faccio?


  • Bannato User Attivo

    Ti posso incollare il codice creato per il mio WP 2.5, prova ad aggiungerlo/sostituirlo al tuo;

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    *RewriteBase /*
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php 
    </IfModule>
    
    # END WordPress
    

    Occhio ovviamente al RewriteBase / se utilizzi WP in una sottodirectory.

    Ciao


  • Moderatore

    @adirontack said:

    Ti posso incollare il codice creato per il mio WP 2.5, prova ad aggiungerlo/sostituirlo al tuo;

    ># BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    *RewriteBase /*
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php 
    </IfModule>
    
    # END WordPress
    >```Occhio ovviamente al *RewriteBase /* se utilizzi WP in una sottodirectory.
    
    Ciao
    
    Scusa la mia ignoranza ma io ho messo wp nel dominio di trezo livello, il codice che mi hai passato tu lo devo mettere nel file .htaccess dentro al dominio di trezo livello o lo aggiungo a quello che uso nel mio domonio principale?
    Grazie

  • Bannato User Attivo

    @riga75 said:

    Scusa la mia ignoranza ma io ho messo wp nel dominio di trezo livello, il codice che mi hai passato tu lo devo mettere nel file .htaccess dentro al dominio di trezo livello o lo aggiungo a quello che uso nel mio domonio principale?
    Grazie
    L'htaccess va nella cartella principale di WP, all'altezza delle cartelle Wp-admin, wp-content ecc...; quindi nel tuo caso, va nel terzo livello.

    :ciauz:


  • Moderatore

    @adirontack said:

    L'htaccess va nella cartella principale di WP, all'altezza delle cartelle Wp-admin, wp-content ecc...; quindi nel tuo caso, va nel terzo livello.

    :ciauz:

    Niente da fare se lo metto anche il tuo mi da sempre la stessa pagina:

    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.
    Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
    More information about this error may be available in the server error log.
    Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.


  • Bannato User Attivo

    @riga75 said:

    Niente da fare se lo metto anche il tuo mi da sempre la stessa pagina:
    Sicuro che il tuo hosting supporta il rewrite? Sei su linux?
    Prova ad aggiungere la seguente stringa: Options +FollowSymLinks
    quindi, riposto il codice corretto:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    Options +FollowSymLinks
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php 
    </IfModule>
    
    # END WordPress
    

  • Moderatore

    @adirontack said:

    Sicuro che il tuo hosting supporta il rewrite? Sei su linux?
    Prova ad aggiungere la seguente stringa: Options +FollowSymLinks
    quindi, riposto il codice corretto:

    ># BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    Options +FollowSymLinks
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php 
    </IfModule>
    
    # END WordPress
    >```
    
    Si si che lo supporta sul sito principale ho joomla con il rewrite e funziona benissimo.
    niente neanche con questo funziona :x:x:x:cry: