Zend certified PHP/Magento developer

Remove Store Code from Header

I’m trying to use an extension to manage our hreflang tags, but when it generates the tags, it adds the default store code to the URL. As the default store code was removed from the URL, it creates an error (the french version is pointing to an inexistent page, with the store code).

Is there a way to correct this problem, without modifying the extension itself?

I need to remove the "ca_en" part

Thank you.