0
votes
2answers
633 views

How to disable the default WordPress redirect to non-www URLs?

I am trying to redirect all non-www to www URLs in my WordPress MultiSite install. I am using a simple .htaccess rule like this: # Redirect non-www to www: RewriteCond %{HTTP_HOST} !^www\. [NC] ...
0
votes
1answer
366 views

Setting up .htaccess for subdirectory [closed]

I've edited the .htaccess on root as referenced in Codex: RewriteEngine On RewriteCond %{HTTP_HOST} ^(www.)?mydomain.com$ RewriteRule ^(/)?$ blog [L] The /blog/ directory has a .htaccess file: # ...