.htaccess redirect all pages under a folder to new domain
snippet in htaccess

.htaccess redirect all pages under a folder to new domain

user2727

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /

RewriteRule ^folder1(.*)$ http://www.newdomain.com/$1 [L,R=301]

</IfModule>