RewriteRule ^word-(.*)/(.*)/([a-z][a-z])/([0-9]+)?/$ /keywordbycountry.php?word=yes&keyword=$2&cc=$3&page=$4 [L]
the $2 = is the keyword (anything) the $3 is the country code (only 2 lowercase letters) the $3 is the page (only numbers)
but for some reason it is not working