Jump to content

getProductLink does not create routed url's


Recommended Posts

Hello,

 

suddendly I notice that generating urls in the dispatcher changed.

Before the createUrl method returned a routed url.

However for instance the google sitemap now generates urls like:

/nl/index.php?id_product=1&controller=product&id_lang=6

 

Debugging showed that in constructor of Dispatcher use_routes is set to false when

variable '_PS_ADMIN_DIR_' is defined.

 

Any ideas how this can be caused and fixed?

 

Regards, Jeroen

Link to comment
Share on other sites

  • 1 year later...
×
×
  • Create New...