Thanks again Typo,
Tell more about: the main site url is rock.net.uy , a joomla 1.5.12 installation. The phpbb 3.0.5 is located at /debate, The two systems are bridged with rokbridge, I ve read arround the phorum that they are not compatible, in that case I should find another solution.. The url for bridge is /foro, although /debate works fine too.
Seo Url for phpbb worked partialy at first time , the phorums url fine, but no topics. But suddenly stop well working. (maybe I regenerated wrong .htaccess). Now the urls generated starts with: / , instead of /debate/
Copy the .htaccess file. I do not know If the file needs to be merged with the joomla one (on root folder) , or if it s indifferent.
This one was generated with acp (generated first and then check the option yes in Activate URL rewriting on phpBB SEO Class settings).
More options was marked no, system suggested to install at root folder ( / ) and the option to generate in a sub-folder. which is the one that does not work. So I placed at /debate and edited this line: RewriteBase /debate/
- Code: Select all
# 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 /debate/
# HERE IS A GOOD PLACE TO FORCE CANONICAL DOMAIN
# RewriteCond %{HTTP_HOST} !^rock\.net\.uy$ [NC]
# RewriteRule ^(.*)$ http://rock.net.uy/$1 [QSA,L,R=301]
# DO NOT GO FURTHER IF THE REQUESTED FILE / DIR DOES EXISTS
RewriteCond %{REQUEST_FILENAME} -f
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule . - [L]
#####################################################
# PHPBB SEO REWRITE RULES ALL MODES
#####################################################
# AUTHOR : dcz www.phpbb-seo.com
# STARTED : 01/2006
#################################
# FORUMS PAGES
###############
# FORUM INDEX
RewriteRule ^forum\.html$ /debate/index.php [QSA,L,NC]
# FORUM ALL MODES
RewriteRule ^(foro|[a-z0-9_-]*-f)([0-9]+)/?(pagina([0-9]+)\.html)?$ /debate/viewforum.php?f=$2&start=$4 [QSA,L,NC]
# TOPIC WITH VIRTUAL FOLDER ALL MODES
RewriteRule ^(foro|[a-z0-9_-]*-f)([0-9]+)/(tema|[a-z0-9_-]*-t)([0-9]+)(-([0-9]+))?\.html$ /debate/viewtopic.php?f=$2&t=$4&start=$6 [QSA,L,NC]
# GLOBAL ANNOUNCES WITH VIRTUAL FOLDER ALL MODES
RewriteRule ^anuncio/(tema|[a-z0-9_-]*-t)([0-9]+)(-([0-9]+))?\.html$ /debate/viewtopic.php?t=$2&start=$4 [QSA,L,NC]
# TOPIC WITHOUT FORUM ID & DELIM ALL MODES
RewriteRule ^([a-z0-9_-]*)/?(tema|[a-z0-9_-]*-t)([0-9]+)(-([0-9]+))?\.html$ /debate/viewtopic.php?forum_uri=$1&t=$3&start=$5 [QSA,L,NC]
# PHPBB FILES ALL MODES
RewriteRule ^resources/[a-z0-9_-]+/(thumb/)?([0-9]+)$ /debate/download/file.php?id=$2&t=$1 [QSA,L,NC]
# PROFILES THROUGH USERNAME
RewriteRule ^usuario/([^/]+)/?$ /debate/memberlist.php?mode=viewprofile&un=$1 [QSA,L,NC]
# USER MESSAGES THROUGH USERNAME
RewriteRule ^usuario/([^/]+)/(topics|posts)/?(pagina([0-9]+)\.html)?$ /debate/search.php?author=$1&sr=$2&start=$4 [QSA,L,NC]
# GROUPS ALL MODES
RewriteRule ^(grupo|[a-z0-9_-]*-g)([0-9]+)(-([0-9]+))?\.html$ /debate/memberlist.php?mode=group&g=$2&start=$4 [QSA,L,NC]
# POST
RewriteRule ^mensaje([0-9]+)\.html$ /debate/viewtopic.php?p=$1 [QSA,L,NC]
# ACTIVE TOPICS
RewriteRule ^temas-activos(-([0-9]+))?\.html$ /debate/search.php?search_id=active_topics&start=$2&sr=topics [QSA,L,NC]
# UNANSWERED TOPICS
RewriteRule ^temas-sin-respuesta(-([0-9]+))?\.html$ /debate/search.php?search_id=unanswered&start=$2&sr=topics [QSA,L,NC]
# NEW POSTS
RewriteRule ^nuevos-temas(-([0-9]+))?\.html$ /debate/search.php?search_id=newposts&start=$2&sr=topics [QSA,L,NC]
# THE TEAM
RewriteRule ^el-equipo\.html$ /debate/memberlist.php?mode=leaders [QSA,L,NC]
# HERE IS A GOOD PLACE TO ADD OTHER PHPBB RELATED REWRITERULES
# FORUM WITHOUT ID & DELIM ALL MODES (SAME DELIM)
# THESE THREE LINES MUST BE LOCATED AT THE END OF YOUR HTACCESS TO WORK PROPERLY
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([a-z0-9_-]+)/?(pagina([0-9]+)\.html)?$ /debate/viewforum.php?forum_uri=$1&start=$3 [QSA,L,NC]
# END PHPBB PAGES
#####################################################
This line was edited in phpbb_seo_class.php
- Code: Select all
var $seo_static = array( 'forum' => 'foro', 'topic' => 'tema', 'post' => 'mensaje', 'user' => 'usuario', 'group' => 'grupo', 'index' => '', 'global_announce' => 'anuncio', 'leaders' => 'el-equipo', 'atopic' => 'temas-activos', 'utopic' => 'temas-sin-respuesta', 'npost' => 'nuevos-temas', 'pagination' => 'pagina', 'gz_ext' => '.gz' );
These are the options I choosed from phpbb-seo acp:
Activate URL rewriting: yes
URL rewriting type: mixed
Activate SQL Rewriting: yes
Profiles and groups injection: yes
Virtual folder Profiles: yes
Profiles ID removing: yes
Common Search and User messages pages rewriting: no
Attachment Rewriting: no
SID Removing: yes
Highlights Removing: yes
Remove small words: no
Virtual Folder: yes
Virtual Root: yes
Forum URL caching: yes
Forum ID Removing: yes
I also run the same pararel install on localhost and I met the same problem.
I hope I can fix this,, seo is necessary
Best regards