Hi all
I have an htaccess file which has a few mod-rewrite rules in it for use within my website, but I am just wondering is there a way to shorten what i have below.
I have 5 re-write rules, 4 of which redirect to the same PHP script so I am assuming there might be a way to write this within one rule rather then 4 separate ones and leave the 5th one as it is? Any help would be greatly appreciated:
RewriteRule ^public/aboutus$ aboutus.php
RewriteRule ^public/aboutus/history$ aboutus.php
RewriteRule ^public/aboutus/map$ aboutus.php
RewriteRule ^public/aboutus/contact$ aboutus.php
RewriteRule ^public/aboutus/(.*)$ home.php