Subdomain redirection to directory site on an additional domain name

I was questioning what is mosting likely to be the most convenient means to do the adhering to ;

Point to directory site/

So that index.php will certainly read from directory/index. php

Any advice would certainly be substantially valued, virtually every little thing I have actually located online aids you leap around within your very own domain name or obtains you to the origin of an additional domain name.

2019-05-18 23:20:58
Source Share
Answers: 1

If you have accessibility to and also if its web server is Apache, you can a .htaccess with this:

<IfModule mod_rewrite.c>
  RewriteEngine On
  RewriteCond %{HTTPS} !=on
  RewriteCond %{HTTP_HOST} ^wibble\.(.+)$ [NC]
  RewriteRule ^(.*)$$1 [R=301,L]

It needs to function.

2019-05-21 09:19:20