Jump to content

Edit History

JuanMans

JuanMans


formatting

Hello, I have a problem with hitting module endpoints when multi-language option is enabled. 

One of my Cron jobs tries to hit the URL: https://theshopname.com/es/index.php?controller=do&fc=module... It returns 404 page - not found.

When I remove language prefix /es/ and hit endpoint manually:  https://theshopname.com/es/index.php?controller=do&fc=module.. It works perfectly.

I do not want to remove multi-language support.

Is it possible to make it work with the language prefix as well, so the: https://theshopname.com/es/index.php?controller=do&fc=module will also trigger the action instead of returning 404?

Thanks for any help!

JuanMans

JuanMans

Hello, I have a problem with hitting module endpoints when multi-language option is enabled. 

One of my Cron jobs tries to hit the URL: https://theshopname.com/es/index.php?controller=do&fc=module...
It returns 404 page - not found.

When I remove language prefix /es/ and hit endpoint manually: https://theshopname.com/index.php?controller=do&fc=module...                                                                                                                  It works perfectly.

I do not want to remove multi-language support.                                                                                                                                                                                                                                                              Is it possible to make it work with the language prefix as well, so the: https://theshopname.com/es/index.php?controller=do&fc=module will also trigger the action instead of returning 404?

Thanks for any help!

×
×
  • Create New...