I have a dynamic URL which I have masked.
This is the clean URL:
The original URL with the query string is:Code:http://www.safetyproblemsolutions.com/driver-warehouse-forklift-trucks&a=uk
It all works fine. HOWEVER, for something else to work I need that last bit of the query (&a=uk) to become ?a=uk. So basically I need to replace the ampersand with a question mark.Code:http://www.safetyproblemsolutions.com/driver-courses.php?action=show&course_url=forklift-trucks&a=uk
So the final clean URL becomes:
Here's what I currently have in my htaccess that makes the current magic happen:Code:http://www.safetyproblemsolutions.com/driver-warehouse-forklift-trucks?a=uk
PLEEEEASE can someone help me with this? I need to get this working! Thankyou!Code:RewriteEngine On RewriteRule ^driver-warehouse-([^-]*)$ /driver-courses.php?action=show&course_url=$1