I have a heavily-used MOSS subsite (publishing site) that needs to be moved to a different location in the site collection. Since many users have specific pages, documents etc. bookmarked in the subsite I'd like to globally redirect any link into that subsite as in:
http://site/MySub/default.aspx
http://site/MySub/Documents/Forms/AllItems.aspx
http://site/MySub/Pages/MyPage.aspx
All should redirect to site/MyOtherSub. I don't know that I can do anything about individual documents or list items but this would be a good start. I hoped to make a custom master page and apply it to the subject subsite and I have a Javascript sample from http://usermanagedsolutions.com/SharePoint-User-Toolkit/Pages/Page-Redirect.aspx that I use on individual pages with a CEWP but can't seem to figure out where to inject the script into the custom master page. tried it inside the HEAD tag on the page without results. Any thoughts on how to implement or whether there's a better solution that doesn't require action on the IIS server? Thanks in advance!