I have two websites. Let's say siteA.com
and siteB.com
. Now I want to add 301 redirect to siteB.com
. Some of pages of siteB.com
need to be redirected to some specific pages on siteA.com
All other pages of siteB.com
neet to redirect to the home page of siteA.com
including siteB's home page. My final requirement is no one can access siteB after adding the redirection. These are two wordpress sites. How can acomplish this with htaccess file or a wordpress plugin?
I think this is a good resource that will help you accomplish what you are looking to do.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.