• User Attivo

    smf & wordpress tutto ok ma seo4smf non va...

    Ragazzi sono riuscito ad implementare smf & worpress magnificamente, i permalink di wordpress funzionano, ma non riesco ad installare seo4smf, o meglio l'installazione viene fatta, ma poi quando rinomino il file htaccess.txt in .htaccess per vederne i risultati non funziona più il forum...
    Mi da il seguente errore:

    Code 500 > Errore interno del server o possibile violazione delle policy di sicurezza! - Internal server error or possibile security policy violation!
    (sono su netsons)

    Vi faccio vedere il mio file .htaccess:

    RewriteEngine On
    RewriteBase /smf
    RewriteRule ^board([0-9.]).html index.php?board=$1
    RewriteRule ^profile([0-9.]
    ).html index.php?action=profile;u=$1
    RewriteRule ^search.html index.php?action=search
    RewriteRule ^topic([0-9.]*).html index.php?topic=$1.0

    #uncomment if you use beautifying url actions
    #RewriteCond %{REQUEST_METHOD} =GET
    %{QUERY_STRING} ^action=(.)$
    #RewriteRule ^(.
    )$ seo4smf-redirect.php?a=%1 [R=301,L]

    RewriteCond %{QUERY_STRING} ^topic=([0-9])$
    RewriteRule ^(.
    )$ seo4smf-redirect.php?t=%1 [R=301,L]

    RewriteCond %{QUERY_STRING} ^topic=([0-9]).([0-9])
    RewriteRule ^(.*)$ seo4smf-redirect.php?t=%1 [R=301,L]

    RewriteCond %{QUERY_STRING} ^board=([0-9]).([0-9])
    RewriteRule ^(.)$ seo4smf- redirect.php?b=%1 [R=301,L]
    RewriteCond %{QUERY_STRING} ^action=profile;u=([0-9]
    );(.) $
    RewriteRule ^(.
    )$ seo4smf-redirect.php?u=%1;param=%2 [R=301,L]RewriteCond %{QUERY_STRING} ^action=profile;u=([0-9])
    RewriteRule ^(.
    )$ seo4smf-redirect.php?u=%1 [R=301,L]#Tiny Portal Old Url'sRewriteCond %{QUERY_STRING} ^page=([0-9])
    RewriteRule ^(.
    )$ seo4smf-redirect.php? p=%1 [R=301,L]#
    Rewrite Old urlsRewriteRule ^index.php/board,(.).html seo4smf-redirect.php? b=$1 [R=301,L]
    RewriteRule ^index.php/board,(.
    ).html;(.) seo4smf-redirect.php?b=$1&o=$2 [R=301,L]
    RewriteRule ^index.php/topic,(.
    ).html seo4smf-redirect.php?t=$1 [R=301,L]
    RewriteRule ^index.php/topic,(.).html;(.) seo4smf-redirect.php?t=$1&o=$2 [R=301,L]

    #Bad Url's
    %{REQUEST_URI} ^(.).html$#
    RewriteCond %{REQUEST_URI} !^(.+)/(.
    )-t([0-9]). ([0-9]).html$#
    RewriteRule ^(.)-t([0-9]).([0-9]).html seo4smf-redirect.php?t=$2 [R=301,L]
    RewriteRule ^(.
    )/-t(.).html seo4smf-redirect.php?t=$2 [R=301,L]RewriteRule ^-b(.)/$ seo4smf-redirect.php?b=$1 [R=301,L]RewriteRule ^-b(.)/(.)$ seo4smf-redirect.php?b=$1 [R=301,L]RewriteRule ^(.)/-b(.)/$ seo4smf-redirect.php?b=$2 [R=301,L]
    #New board URL'sRewriteRule ^(.)-b([0-9]).([0-9])/;(.) index.php?dummy=1&board=$2.$3&$4
    RewriteRule ^(.)-b([0-9]).([0-9])/$ index.php?dummy=2&board=$2.$3
    RewriteRule ^ (.
    )-b([0-9]).([0-9])$ index.php?dummy=2&board=$2.$3 topic URL's
    RewriteRule ^(.
    )- t([0-9]).([0-9]).html;((?:from|msg|new)[0-9]);(.)$ index.php?dummy=1&topic=$2.$4&$6
    RewriteRule ^(.)-t([0-9]).([0-9]).html;((?:from|msg|new)[0-9]) index.php? dummy=1&topic=$2.$4
    RewriteRule ^(.)-t([0-9]).([0-9]).html;(.)$ index.php? dummy=1&topic=$2.$3&$4
    RewriteRule ^(.)-t([0-9]).([0-9]).html$ index.php? dummy=1&topic=$2.$3 profiles URL's
    RewriteRule ^(.
    )-u([0-9]).html;sa,(.);start, ([0-9]);delete,([0-9]);sesc,([a-z0-9])$ index.php? dummy=1&action=profile;u=$2;sa=$3;start=$4;delete=$5;sesc=$6
    RewriteRule ^(.
    )-u([0-9]) .html;sa,(.);start,([0-9])$ index.php?dummy=1&action=profile;u=$2;sa=$3;start=$4
    RewriteRule ^(.
    )-u([0-9]).html;sa,(.)$ index.php?dummy=1&action=profile;u=$2;sa=$3
    RewriteRule ^(.)-u([0-9]).html index.php?dummy=1&action=profile;u=$2
    Tinyportal Articles URL's
    RewriteRule ^(.)-p([0-9]).html index.php?dummy=1&page=$2

    ^(.).html(.)$ index.php?dummy=1;action=$1;$2
    ^(.*).html$ index.php?dummy=1;action=$1

    #Sitemaps
    RewriteRule sitemap.xml sitemaps.php
    RewriteRule urllist.txt urllist.php

    Cosa c'è di sbagliato? vi prego aiutatemi o rimango bloccato a questo punto...


  • Moderatore

    Ciao Japgalaxy,
    hai controllato che netsons abbia il mod_rewrite attivato?


  • User Attivo

    certo che si...tutto attivo... 😉
    non capisco perchè di quest'errore però...
    che mi dite?


  • Moderatore

    Beh l'errore 500 è tipico di quando l'htaccess non funziona come dovrebbe. Quel file che hai riportato dove si trova? nella root del sito?


  • User Attivo

    no si trova nella cartella root/smf seguendo le istruzioni ho letto che è lì che devo metterlo, a se stante dal .htaccess della root.


  • User Attivo

    vi prego che qualcuno mi aiutiii!
    proprio non riesco a venirne a capo...
    il file .htaccess non ha errori però appena lo uppo non va più il forum!