I have a website with 11 sub-domains.I have one main htaccess file in the public_html root folder that has the common shared traits like cache etc. I have separate htaccess files in each of the sub-domain root folders where I use mod_rewrite however I can't get it to rewrite the URL. I'm trying to change it from dundaah.com/days/content.php?day=thur to a much cleaner dundaah.com/thursday and for the sub-domains music.dundaah.com/days/content.php?day=thur to a preferred music.dundaah.com/thursday. My 1st researched code so far only gets me to the URL dundaah.com/day/thur and the 2nd to dundaah.com/thursday still gives me a 404 error. I have not changed the internal links of the site, is this a prolem? Could anyone help? Thanks
<IfModule mod_rewrite.c>
Options +FollowSymlinks
# enable the rewrite engine
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/days/content.php
RewriteCond %{QUERY_STRING} ^day=([a-z]+)$
RewriteRule ^(.*)$ /days/%1? [R,L]
# or for individual pages
RewriteCond %{REQUEST_URI} ^/days/content.php
RewriteCond %{QUERY_STRING} ^day=thur$
RewriteRule ^(.*)$ /thursday? [R,L]
</IfModule>