Can't load file when site language is english

When running site in other default language the URL has no language tag . That’s the default. When switching to english the “en” tag is added to URL and i got this URI to load data:
Call in FE: mygrid.load(“awhrm_get_data_timereport_month.php”…)
site.se/en/awhrm_get_data_timere … _trid=7….
And getting 404 from browser trying to access file and get data

The corresponding URI for default language is :
site.se/awhrm_get_data_timerepor … w_trid=7….

How to make this language independant?

This is the only component in the site that is sensitive to this
Running Ubuntu 14.04 LTS , PHP 5.5.9, DHTML4.6

Please, check the url of your data request in the console. Make sure that it correct.