Which redirect rule would I use to redirect all pages under olddomain.example to be redirected to newdomain.example?
olddomain.example
newdomain.example
The site has a totally
If you want redirect to complete new different site (domain) with no parameters or pages, use this:
RewriteEngine On RewriteRule / http://new-domain.com/$1? [R=301]