Forum Moderators: phranque
I have following rules in my .htaccess:
Options +FollowSymLinks
RewriteEngine on
RewriteBase /directoryname/
RewriteRule ^([a-z¦A-Z¦'_']+)\.htm$ index.php?con=$1
The above is working fine BUT when i add Hyphen like below:
RewriteRule ^([a-z¦A-Z¦'_'¦'-']+)\.htm$ index.php?con=$1
It started giving me error. My file name contains Hyphen in between the name and I want my .htaccess file to accept that.
Can anyone help?
RewriteRule ^([b][a-z_\-][/b]+)\.htm$ index.php?con=$1 [b][NC,L][/b]
Jim
^([a-z_\-()]+)\.htm$
Jim