the3rdrock
Forum Replies Created
-
Hi everyone,
I am still battling with this. I reverted to a standalone install and then reconfigured MS and I’m not much further.
Here is my setup:
example.com is rewritten to blog.example.com (.htaccess in root).
Now I have enabled MS, hoping to achieve site.blog.example.com.
I have added the WordPress MS code to the .htaccess file in /blog/.
I have created a new site, but both the Admin’ Console and the Site point to blog.example.com; and I can’t figure out where I am going wrong.
I have created a Wildcard DNS entry for *.blog in my cPanel and on CloudFlare. This Wildcard entries point to example.com’s IP address.
Here is the relevant ReWrite code in my root’s .htaccess file:
RewriteCond %{HTTP_HOST} trekairways\.za\.org RewriteRule (.*) http://www.facebook.com/TrekAirways$1 [R=301,L] RewriteCond %{HTTP_HOST} !\b(justride|kombination)\.(za.net|za.org|co.za|com|net)$ RewriteCond %{REQUEST_URI} !^/(_attachments|phpinfo\.php|google584043c130e8f0a8\.html|pinterest-ba682\.html) RewriteRule (.*)$ http://blog.the3rdrock.com/$1 [R=301,L]Any assistance would be greatly appreciated.
Thank you.
Thanks Mika. 🙂
If I understand MS correct, this is the procedure required…
Create a new Site through MS. The wildcard subdomain means that newsite.blog.example.com goes live.
Do I then simply edit the .htaccess file in my web server’s root, to point incoming traffic to newsite.example.com to newsite.blog.example.com?