I'm trying to redirect an entire forum subdirectory to a new domain. So /forum should go to newdomain.com/ but /forum/index.php should also be redirected to newdomain.com, as should /forum/viewtopic.php?111 refer to this same base domain.
I can not figure out how to do this correctly. I've checked many threads here, but can't get it to work. Help is appreciated, thanks.
(Please not, using htaccess, modrewrite)