Answers for "wordpress redirects to old 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
0

wordpress redirect all pages to new domain htaccess

<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^(.*)$ http://newdomain.com/$1 [R=301,L]
</IfModule>
Posted by: Guest on April-21-2021

Code answers related to "wordpress redirects to old domain"

Browse Popular Code Answers by Language