What you are trying to accomplish here is to have one resource (either a page or an entire site) redirect a visitor to a completely different page or site, and while doing so tell the visitor's browser that the redirect is either permanent (301) or temporary (302).
Accessible (a8e) Joomla! is a Joomla! fork that conforms to accessibility guidelines and standards