All the htaccess rules in my Webproject do their job. However, I wonder if there is any way around to write a single rule using REGEX instead of hard-coding them as shown below. I couldn't find question/answers on SO that address the need mentioned here. Thanks for any advice or help.
RewriteEngine on
RewriteRule ^index index.php
RewriteRule ^about-us about-us.php
RewriteRule ^web-application-development web-application-development.php
RewriteRule ^mobile-application-development mobile-application-development.php
RewriteRule ^offshoring offshoring.php
RewriteRule ^internet-marketing internet-marketing.php
RewriteRule ^careers careers.php
RewriteRule ^blog blog.php
RewriteRule ^contact-us contact-us.php
I am looking for a single rule involving REGEX that does the job that all the rules above do when put together.