Hello,
I have a wp site that will be removed soon, but I still have the domain name.
Should I add the redirect in cPanel?
Or as a redirect in the bottom box in the htaccess custom code? (though not sure how to do this for a whole site).
Or in the rewite engine custom code like this:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^oldsite.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.oldsite.com$
RewriteRule (.*)$ https://www.some-other-domain.com/$1 [R=301,L]
many thanks.