Answers for "htaccess redirect part of url"

3

.htaccess redirect to another 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 "htaccess redirect part of url"

Browse Popular Code Answers by Language