Ho installato la advanced seo mod. Non riesco però a farla funzionare, credo che il problema sia il file .htaccess perchè la mod è stata installata correttamente e il mod rewrite è attivo. Ogni pagina del forum però mi genera un errore 404, quindi ho temporaneamente disattivato il seo.
Questo è il contenuto del .htaccess (che è contenuto dentro /phpbb):
Codice:
# Lines That should already be in your .htacess
<Files "config.php">
Order Allow,Deny
Deny from All
</Files>
<Files "common.php">
Order Allow,Deny
Deny from All
</Files>
# You may need to un-comment the following lines
# Options +FollowSymlinks
# To make sure that rewritten dir or file (/|.html) will not load dir.php in case it exist
# Options -MultiViews
# REMEBER YOU ONLY NEED TO STARD MOD REWRITE ONCE
RewriteEngine On
# REWRITE BASE
RewriteBase /phpbb/
# HERE IS A GOOD PLACE TO ADD THE WWW PREFIXE REDIRECTION
#####################################################
# PHPBB SEO REWRITE RULES - ADVANCED
#####################################################
# AUTHOR : dcz www.phpbb-seo.com
# STARTED : 01/2006
#################################
# FORUMS PAGES
###############
# FORUM INDEX REWRITERULE WOULD STAND HERE IF USED. "forum" REQUIRES TO BE SET AS FORUM INDEX
# RewriteRule ^phpbb/forum\.html$ /phpbb/index.php [QSA,L,NC]
# FORUM
RewriteRule ^phpbb/[a-z0-9_-]*-f([0-9]+)(-([0-9]+))?\.html$ /phpbb/viewforum.php?f=$1&start=$3 [QSA,L,NC]
# TOPIC WITH VIRTUAL FOLDER
RewriteRule ^phpbb/[a-z0-9_-]*-f([0-9]+)/[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ /phpbb/viewtopic.php?f=$1&t=$2&start=$4 [QSA,L,NC]
# GLOBAL ANNOUNCES WITH VIRTUAL FOLDER
RewriteRule ^phpbb/announces/[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ /phpbb/viewtopic.php?t=$1&start=$3 [QSA,L,NC]
# TOPIC WITHOUT FORUM ID & DELIM
RewriteRule ^phpbb/([a-z0-9_-]*)/?[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ /phpbb/viewtopic.php?forum_uri=$1&t=$2&start=$4 [QSA,L,NC]
# PROFILES SIMPLE
RewriteRule ^phpbb/member([0-9]+)\.html$ /phpbb/memberlist.php?mode=viewprofile&u=$1 [QSA,L,NC]
# USER MESSAGES SIMPLE
RewriteRule ^phpbb/member([0-9]+)-(topics|posts)(-([0-9]+))?\.html$ /phpbb/search.php?author_id=$1&sr=$2&start=$4 [QSA,L,NC]
# GROUPS SIMPLE
RewriteRule ^phpbb/group([0-9]+)(-([0-9]+))?\.html$ /phpbb/memberlist.php?mode=group&g=$1&start=$3 [QSA,L,NC]
# POST
RewriteRule ^phpbb/post([0-9]+)\.html$ /phpbb/viewtopic.php?p=$1 [QSA,L,NC]
# ACTIVE TOPICS
RewriteRule ^phpbb/active-topics(-([0-9]+))?\.html$ /phpbb/search.php?search_id=active_topics&start=$2&sr=topics [QSA,L,NC]
# UNANSWERED TOPICS
RewriteRule ^phpbb/unanswered(-([0-9]+))?\.html$ /phpbb/search.php?search_id=unanswered&start=$2&sr=topics [QSA,L,NC]
# NEW POSTS
RewriteRule ^phpbb/newposts(-([0-9]+))?\.html$ /phpbb/search.php?search_id=newposts&start=$2&sr=topics [QSA,L,NC]
# THE TEAM
RewriteRule ^phpbb/the-team\.html$ /phpbb/memberlist.php?mode=leaders [QSA,L,NC]
# HERE IS A GOOD PLACE TO ADD OTHER PHPBB RELATED REWRITERULES
# FORUM WITHOUT ID & DELIM
# THESE FOUR LINES MUST BE LOCATED AT THE END OF YOUR HTACCESS TO WORK PROPERLY
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^phpbb/([a-z0-9_-]+)(-([0-9]+))\.html$ /phpbb/viewforum.php?forum_uri=$1&start=$3 [QSA,L,NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^phpbb/([a-z0-9_-]+)\.html$ /phpbb/viewforum.php?forum_uri=$1 [QSA,L,NC]
# END PHPBB PAGES
#####################################################
che tra l'altro ho copiato direttamente dal pannello di configurazione della mod stessa.
Ho modificato questo file più volte, provando tutte le combinazioni fornite dal pannello di configurazione della mod, ovvero:
Abilitandole una o tutte... ma continua a non funzionare :(
Cosa sto sbagliando?