Map new domain to one of sub domains?
-
Hello
I managed to get the redirection working on a new domain – oneminutewanda.com but can only get it to go to the ‘top level’ of my https://www.jopearson.com (wordpress) site. However I want it to point to a subdomain I have set up – omw.jopearson.com but I just cannot see how to make it work. Have read various things online but am not a programmer. Would it be something to do with this in my Htaccess file (see below)
Any help gratefully received. Thanks
/
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]# uploaded files
RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ – [L]
RewriteRule . index.php [L]
</IfModule># END WordPress
RewriteCond %{HTTP_HOST} ^oneminutewanda.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.oneminutewanda.com$
RewriteRule ^/?$ “http\:\/\/omw\.jopearson\.com” [R=301,L]
/
- The topic ‘Map new domain to one of sub domains?’ is closed to new replies.