Answers for "redirect my domain to subfolder htaccess"

1

htaccess subdomain redirect

RewriteEngine On
RewriteCond %{HTTP_HOST} ^test.example.com$ [NC]
RewriteRule ^(.*)$ https://www.somdomain.com%{REQUEST_URI} [R=301,NC,L,QSA]
Posted by: Guest on August-30-2021
0

htaccess redirect to another domain

RewriteEngine On
RewriteRule ^(.*)$ http://newdomain.com/ [R=301]
Posted by: Guest on October-13-2021

Code answers related to "redirect my domain to subfolder htaccess"

Browse Popular Code Answers by Language