Htaccess remove dates from root site but not from subdomain

I figured out my own answer, so am posting it here so if someone else runs into the same problem, they can see what I did.

The issue for me was that the base WordPress redirect code:

# 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

was at the top of the htaccess file, so it was firing first before any of the redirects were. When I moved that to the bottom, the redirects began working again.

So if you are going to use the rewritecond and rewriterule, they need to go BEFORE the WordPress rewritecond and rewriterule.

error code: 523