Quantcast
Channel: Developer to developer
Viewing all articles
Browse latest Browse all 9076

Commerce item URL incorrect from scheduled job

$
0
0

Hi Everyone, 

I have an issue whereby I am indexing commerce items in Find via the scheduled job (EPiServer Find Content Indexing Job), but the URL I am indexing for these items is incorrect, and includes the language segment of the culture (EN) configured for the current sites host name - therefore when I render the results of the items in my search results they're wrong.

If I index the items myself, through a publish, the URL is correct (language segment is not in the URL). 

CMS based items are always right in terms of removing the language segment for EN, and applying language segment for other cultures. 

Can someone point me in the right direction of what I need to do to get this working?

It looks like it may an issue with getting the current site context via the job (this is a multi site solution).

Thanks,

Paul


Viewing all articles
Browse latest Browse all 9076

Trending Articles