Make this work for 'context-as-subfolder' contexts

Allows to rewrite /uk/test and /nl/test to their own pages (/uk and /nl are the base_url in this example)