Is there a way to use an htaccess file in the main domain to control the permalinks in the subdomain?
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
This is the htaccess markup used for permalinks, but how can I get this to be active only in my subdomain?
Put the .htaccess in your subdomain. I have one there and one in my root.
Thanks for the reply, Sam.
I should have mentioned that I do have the htaccess set up in the subdomain, but the problem I'm having is that the permalinks interfere with my redirects. I have 1 blog installation, with 2 interfaces, and the redirect from the main domain always goes to the index.php page, which I don't want.
I'll keep looking.