How do I mask a subdirectory of one URL to a subdirectory of a different URL?

I have a VPS running Linux and WordPress with multiple domains.

I want people to be able to go to B.com/b1, and see the page at A.com/b1, but without the URL changing (the URL will still show B.com/b1). However, I don’t want it to mask the entire domain- just those subdirectories on each domain.

Read More

I will then need to do the same thing with C.com/c1 (using A.com/c1 page), D.com/d1 (using A.com/d1 page), etc.

I think this can be done with htaccess page, but that’s the extent of my knowledge. I searched, but didn’t see this answered specifically. I really appreciate the help!

Related posts