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
Simple just like this and this will not carry the trailing query from URL to new domain.
Options +FollowSymLinks RewriteEngine On RewriteBase / RewriteRule .* https://www.newdomain.com/? [R=301,L]