Hi,
I want people requesting
events/calendar to be shown events/calendar.php
and people requesting events/anythingelse to be shown php-bin/events.php?name=anything else
(where "anythingelse" can vary 😃)
I thought this should work, but I must've made a mistake
RewriteRule events/calendar([/]?)$ events/calendar.php
RewriteRule events\/([calendar|/]*)([/]?)$ php-bin/events.php?name=$1
The extra ([/]?) at the end just gives the user the option to include a forward slash at the end, and allows me to be forgetfully inconsistent!
Any ideas what I've done wrong?
Cheers,
ucbones