.htaccess help

I have a quick question is it possible to have these directives in a .htaccess file.

I a file name called "helpme.html" can I have i stated in the .htaccess file to go to "helpme.php"

and the same thing for "faqs.html" it should direct to "faqs.php"

Can I write this in the .htaccess file and how would it be written?

Thanks in advance

LVL 1
smphilAsked:
Who is Participating?
 
RoonaanCommented:
Try:

RewriteEngine On
RewriteRule ^(helpme|faqs)\.html$ /$1.php [L]

-r-
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.