We do a bunch of re-directs through the .htaccess her on the site:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^expertsrt\.com [NC]
RewriteRule ^(.*)$ http://www.expertsrt.com/$1 [R=301,L]
Redirect /home.html http://www.expertsrt.com/
Redirect /home.shtml http://www.expertsrt.com/
Redirect /home.php http://www.expertsrt.com/
Redirect /index.html http://www.expertsrt.com/index.php
ErrorDocument 404 /404.html
The first two lines bring expertsrt.com into the right subdomain
www.expertsrt.com.
Then the Redirects are page Redirects for page that have been removed or renamed. Instead of changing the links all over the site I just add the redirected pages to the .htaccess file. If the site is using all relative links, use a sub-domain and it is a snap, because don't even need .htaccess file.
When we had the beta site up I just changed teh entry url from
http://www.expertsrt.com/phpBB@/ to
http://beta.expertsrt.com/forum/ With relative links nothing else has to change, but in the case of ERT there are mostly absolute links generaed by php, so I had to change a global variable tha contains the root path becaue msot links look like: $phpbb_root . 'page.php'
There were still a couple of pages where I had to use client script to prevent access to page that did not follow the normal conventions, but that problem is the result of of inconsistent coding and stupidity, that yo run across sometimes in PHPBB.
Did that help?
:^)
Cd&