I have a stupid problem with my rewrite rules. I have to convince my website that a directory does not exist. I use /en/ and /fr/ variabables to change language but it gives me error because mywebsite/en/ folder does not exist.
This is real file structure:
This is how i change language:
I simply have to get the URL with /en/ and /fr/ and after i can show the page. Basically i want to redirect example.com to example/$1/something.php. Thank you.