Home .htaccess: How to 301 redirect content from domainA.com/folderA/ to domainB.com/folderB?
Reply: 0

.htaccess: How to 301 redirect content from domainA.com/folderA/ to domainB.com/folderB?

user4591
1#
user4591 Published in September 19, 2018, 11:13 am

Newbie here - this puzzle's had me racking my brains for hours now. Basically, as the title alludes to, I'm in the process of transferring content from one domain to another, as well as to a slightly different folder configuration. Essentially, I'm in need of the necessary .htaccess code that will allow me to redirect visitors attempting to access files situated within domainA.com/folderA/ to domainB.com/folderB

So, if a visitor were to visit...

http://domainA.com/folderA/page1.html

... they would be immediately transferred to...

http://domainB.com/folderB/page1.html

If anyone can help me out, I would be very much grateful. Thanks a bunch for looking into my likely-very-straightforward-but-still-head-scratching quandary!

share|improve this question

1 Answer 1

active oldest votes
up vote 1 down vote accepted
You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.317394 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO