I have a subdomain like abc.example.com which run wordpress. And its htaccess has 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
How do I make my root domain which is example.com to not use wordpress / php at all? because example.com is my suppose to be running my node.js app.
I've tried to replace line 2 with
RewriteRule / http://localhost:3000/$1 [P,L] but it broke my
abc.example.com