mzambranaa
10/19/2017 - 8:01 AM

Redirecciones htaccess

Redirecciones htaccess

Exemple merchbanc

RewriteCond %{HTTP_HOST} ^www\.merchbanc\.lu$
RewriteRule ^(.*)$ http://www.merchbanc.es/en/$1 [R=permanent,L]



RewriteCond %{HTTP_HOST} ^www.midominio.es$ [NC]
RewriteRule ^(.*)$ http://www.midominio.com/ [R=301,L]
RewriteCond %{HTTP_HOST} ^midominio.es$ [NC]
RewriteRule ^(.*)$ http://www.midominio.com/ [R=301,L]

301 redirect Generator

http://www.rapidtables.com/web/tools/redirect-generator.htm

redirect 301 /url_antigua.html http://www.dominio-nuevo.com/url-nueva/