Answers for "rewrite all page old domain to new domain"

3

htaccess redirect old domain to new domain

Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^OLDDOMAIN.com$ [NC]
RewriteRule ^(.*)$ http://NEWDOMAIN.com [R=301,L]
Posted by: Guest on December-22-2020

Code answers related to "rewrite all page old domain to new domain"

Browse Popular Code Answers by Language