htaccess 301 redirect old url to new code example
Example 1: redirect 301 htaccess
redirect 301 /url_antigua.html http://www.dominio-nuevo.com/url-nueva/
Example 2: 301 redirect htaccess
RewriteEngine On
RewriteBase /
RewriteRule ^(.*)$ http://domain2.com/$1 [L,R=301,NC]