I run WordPress in Network mode, which means I can have multiple websites running off one installation of WordPress. Each website runs as a subdomain. WordPress handles this using .htaccess, and a wildcard subdomain pointing to the location of WordPress, so there are no actual subdomains created in cPanel; just a wildcard subdomain in cPanel, ad WordPress handles the rest.
I want to 301 redirect http://one.example.com/portfolio
to http://two.example.com/portfolio
.
If I only have 1 .htaccess file in the web root of example.com, how do I achieve this?
EDIT: I have used the following but it does not work:
RewriteCond %{HTTP_HOST} ^steve\.doig\.com\.au$ [NC]
RewriteRule ^/products.html http://tech.doig.com.au/products.html/ [L,R=301]
(this is to redirect http://steve.doig.com.au/products.html
to http://tech.doig.com.au/products.html
)