RewriteEngine on
RewriteBase /
RewriteRule ^(login|register|forgot-password|testimonials|logout|submit-testimonial)?$ index.php?a=$1 [L]
RewriteRule ^page/(contact|about|privacy-policy|terms-of-service)?$ index.php?a=page&b=$1 [L]
RewriteRule ^account/(exchanges|referrals|settings|withdrawals|withdrawal)?$ index.php?a=account&b=$1 [L]
RewriteRule ^account/exchanges/(.*)?$ index.php?a=account&b=exchanges&page=$1 [L]
RewriteRule ^account/exchange/(.*)?$ index.php?a=account&b=exchange&id=$1 [L]
RewriteRule ^account/referrals/(.*)?$ index.php?a=account&b=referrals&page=$1 [L]
RewriteRule ^ref/(.*)?$ index.php?refid=$1 [L]
RewriteRule ^password-recovery/(.*)?$ index.php?a=password-recovery&hash=$1 [L]
