Code: Select all
RewriteEngine on
RewriteRule /forum/(.*)$ http://forum.e36-tech.com/$1 [R=301]
# Turn on rewrites.
RewriteEngine on
# Only apply to URLs on this domain
RewriteCond %{HTTP_HOST} ^(www.)?e36-tech.com$
# Only apply to URLs that aren't already under folder.
RewriteCond %{REQUEST_URI} !^/forum/
# Don't apply to URLs that go to existing files or folders.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# Rewrite all those to insert /folder.
RewriteRule ^(.*)$ /forum/$1
# Also redirect the root folder.
RewriteCond %{HTTP_HOST} ^(www.)?e36-tech.com$
RewriteRule ^(/)?$ forum/index.php [L]
I also have the phpbbgarage mod installed. I am not sure if this will interfere with the package or not. Please let me know. I am pretty desperate to get this magic seo url going.
-Ali