I create a subdomain called services and I want to redirect it to a folder, but I can't make it work.
I tried this:
# 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] </IfModule> # END WordPress RewriteCond %{HTTP_HOST} ^services\.\.com.br$ RewriteRule ^/$ http://subdomain.mydomaintest/services/ [R,L] The path to the folder is mydomain/web/services