I need to (permanent) redirect all of the following:www.domain.comwww.domain.com/foldersub.domain.comsub.domain.com/folderBasically all URLS that are reachable without being intended to: www.newdomain.com, I want to do this within Apache and using the mod_rewrite module via the htaccess file.
Redirect everything from old domain to new domain
apache;htaccess;redirects;301 redirect