I have some custom php code outside of the wp-content of the wordpress, ie www.xyz.com/test
Calling the code below it works just fine, BUT if I enable the qtranslate-x that will add the language literal ie www.xyz.com/fr/test the result is "404 file not found."
require_once($_SERVER['DOCUMENT_ROOT'].'/wp-load.php');
What can I do the resolve the problem ?