Hi
I'm using Andy's contact us plug-in slightly modified to give me a drop list of departments for an end-user to send emails to.
I was wondering how to get the rewrite rules below to work just using one line.
I have :
RewriteRule ^/contactus$ /perl/community.cgi?func=contact$1
RewriteRule ^/contactus/$ /perl/community.cgi?func=contact$1
so that both
www.mysite.com/contactus
and
www.mysite.com/contactus/
are redirected to /perl/community.cgi?func=contact
and I was wondering if there was an option I could use between contactus and $ in the rewrite in order for me to imply either with or without the slash go to /perl/community.cgi?func=contact ?
Thanks John
Significant Media
I'm using Andy's contact us plug-in slightly modified to give me a drop list of departments for an end-user to send emails to.
I was wondering how to get the rewrite rules below to work just using one line.
I have :
RewriteRule ^/contactus$ /perl/community.cgi?func=contact$1
RewriteRule ^/contactus/$ /perl/community.cgi?func=contact$1
so that both
www.mysite.com/contactus
and
www.mysite.com/contactus/
are redirected to /perl/community.cgi?func=contact
and I was wondering if there was an option I could use between contactus and $ in the rewrite in order for me to imply either with or without the slash go to /perl/community.cgi?func=contact ?
Thanks John
Significant Media