I have a similar rule in my .htaccess
RewriteRule ^news/([0-9]+)/([0-9]+)/([0-9]+)/(.*)/$ /?name=$4&year=$1&monthnum=$2&day=$3
Example
http://www.example.com/news/2014/02/25/stackoverflow-is-cool/
Now I am required to add in extra parameter at the back such that it looks like
http://www.example.com/news/2014/02/25/stackoverflow-is-cool/?source=email
I wish to get the source value and I tried the following:
RewriteRule ^news/([0-9]+)/([0-9]+)/([0-9]+)/([^/]*)/\?source=(.*)$ /?name=$4&year=$1&monthnum=$2&day=$3&source=$5
but it's not working. Any advice?
Thank you.