I'll explain my setup. I have the phpBB located at -http://domain.com/directory/chat/ The website is set up with a subdomain at -http://chat.domain.com/ to point to the forum. You can access the forum through either the subdomain or the direct link and it works the same either way, except for the forums and threads.
I currently have Rewriting turned on to remove the www from the link. The main website is located in the domain.com/directory/ location, so I also have Rewriting turned on to remove /directory/ from the URL so it doesn't show up on each page. I don't think this is interfering with the phpBB rewriting since some of the links work.
I've tried as much as I can, and nothing will work. I've tried the phpBB-SEO code in both the main .htaccess location as well as in the -http://domain.com/directory/Chat/ location, and it does not seem to make things better or worse.
Here is the main portion of the .htaccess if it helps:
- Code: Select all
RewriteEngine On
# REWRITE BASE
RewriteBase /Chat/
# HERE IS A GOOD PLACE TO FORCE CANONICAL DOMAIN
# RewriteCond %{HTTP_HOST} !^chat\.domain\.com$ [NC]
# RewriteRule ^(.*)$ http://chat.domain.com/$1 [QSA,L,R=301]
RewriteCond $1 !^directory/
RewriteRule (.*) /directory/$1 [L]
RedirectMatch permanent ^/Chat/(.*)$ http://chat.domain.com/$1
I don't know if I've covered everything or not. Let me know if you need more info.
Thanks

English |
French
