I want to send
www.mydomain.com/approve/SomeFunkyVariable to
www.mydomain.com/home/index.php?option=com_content&task=view&id=574&Itemid=85&approve=someFunkyVariable
What is the rule for this?
I want to send
www.mydomain.com/approve/SomeFunkyVariable to
www.mydomain.com/home/index.php?option=com_content&task=view&id=574&Itemid=85&approve=someFunkyVariable
What is the rule for this?
Completely ignoring the params (considering you haven't mentioned them)
RewriteEngine on
RewriteRule ^approve/([^/\.]+)/?$ index.php?option=com_content&task=view&id=574&Itemid=85&approve=$1 [L]
To include the params you'll need a url like
www.mydomain.com/com_content/view/547/85/approve/SomeFunkyVariable
RewriteEngine on
RewriteRule ^([^/\.]+)/([^/\.]+)/([^/\.]+)/([^/\.]+)/([^/\.]+)/([^/\.]+)?$ index.php?option=$1&task=$2&id=$3&Itemid=$4&$5=$6 [L]