Tag: htaccess
-
Permanently (301) Redirect Old Domain URL to New Domain URL Using .htaccess – Linux Server
[php] # BEGIN WordPress RewriteEngine On RewriteCond %{HTTP_HOST} ^oldsite.com RewriteRule (.*) http://newsite.com/$1 [R=301,L] # END WordPress [/php] Make sure to change url for oldesite.com and newsite.com