All about htaccess redirects in wordpress

 

HTTPS to HTTP domain redirect

 

Permanent 301 redirect your olddomain to a new  www domain?

Permanent 301 redirect your old domain to new non-www domain?

Redirect all links of a domain except the domain name?

Redirect all links of a domain except the domain name and few file path.

Now if you put a dummy html page as a demo to your root and all the related files under

/html/style.css

/html/logo.png

It will also be redirecting all files path to the newdomain.

As a modifcation you will also need to exclude this path.