- Code: Select all
RewriteEngine On
RewriteBase /
RewriteRule ^forum/(.*)$ http://forum.example.com/$1 [R=301,L]
In the domain's root .htaccess should do it, at least, it should not go 404 if the path are correct.
Moderator: Moderators
RewriteEngine On
RewriteBase /
RewriteRule ^forum/(.*)$ http://forum.example.com/$1 [R=301,L]
Users browsing this forum: No registered users and 3 guests