I have installed premod in a subfolder named foro, where I can put the .htaccess?
When I put the .htaccess in the "foro" folder the result is obvious, a 404 error with all new url's due the "foro" prefix in the rules.
When I put the .htaccess in the root folder the result is a blank page with all new url's.
# 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 line
# Options +FollowSymlinks
# REMEBER YOU ONLY NEED TO STARD MOD REWRITE ONCE
RewriteEngine On
# REWRITE BASE
RewriteBase /
# HERE IS A GOOD PLACE TO ADD THE WWW PREFIXE REDIRECTION
#####################################################
# PHPBB SEO REWRITE RULES - SIMPLE
#####################################################
# 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 ^foro/forum\.html$ /foro/index.php [QSA,L,NC]
# FORUM
RewriteRule ^foro/forum([0-9]+)/?(page([0-9]+)\.html)?$ /foro/viewforum.php?f=$1&start=$3 [QSA,L,NC]
# TOPIC WITH VIRTUAL FOLDER
RewriteRule ^foro/forum([0-9]+)/topic([0-9]+)(-([0-9]+))?\.html$ /foro/viewtopic.php?f=$1&t=$2&start=$4 [QSA,L,NC]
# GLOBAL ANNOUNCES WITH VIRTUAL FOLDER
RewriteRule ^foro/announces/topic([0-9]+)(-([0-9]+))?\.html$ /foro/viewtopic.php?t=$1&start=$3 [QSA,L,NC]
# TOPIC WITHOUT FORUM ID & DELIM
RewriteRule ^foro/[a-z0-9_-]*/?topic([0-9]+)(-([0-9]+))?\.html$ /foro/viewtopic.php?t=$1&start=$3 [QSA,L,NC]
# PROFILES SIMPLE
RewriteRule ^foro/member([0-9]+)\.html$ /foro/memberlist.php?mode=viewprofile&u=$1 [QSA,L,NC]
# USER MESSAGES SIMPLE
RewriteRule ^foro/messages([0-9]+)(-([0-9]+))?\.html$ /foro/search.php?author_id=$1&sr=posts&start=$3 [QSA,L,NC]
# GROUPS SIMPLE
RewriteRule ^foro/group([0-9]+)(-([0-9]+))?\.html$ /foro/memberlist.php?mode=group&g=$1&start=$3 [QSA,L,NC]
# POST
RewriteRule ^foro/post([0-9]+)\.html$ /foro/viewtopic.php?p=$1 [QSA,L,NC]
# THE TEAM
RewriteRule ^foro/the-team\.html$ /foro/memberlist.php?mode=leaders [QSA,L,NC]
# HERE IS A GOOD PLACE TO ADD OTHER PHPBB RELATED REWRITERULES
# END PHPBB PAGES
#####################################################

English |
French
