I'm having trouble translating example.com...
/xx-yy/whatever-directory/
to
/whatever-directory/?country=xx&lang=yy
Where language is optional and country default is uk.
There are a lot of similar .htaccess questions but I can't seem to find a suitable answer to the above. The main problem I'm having is making it work with "whatever-directory".
__
I'm new to .htaccess and regex so a good explanation would be much appreciated!
This is my first post to Stack Overflow too, so I hope it's appropriately tagged and everything.
Thanks for your time!