Hi,After upgrade from EPi CMS & Commerce 7.5 to CMS 9.0.3 and Commerce 126.96.36.1995I get issues with all pages with language code in URL. Global page works fine and all pages can be modified in Edit mode.I have tried with attribute strictLanguageRouting="true" in episerver.config but with no effects.
----------------------Error:TTP Error 404.0 - Not FoundThe resource you are looking for has been removed, had its name changed, or is temporarily unavailable.Most likely causes: The directory or file specified does not exist on the Web server. The URL contains a typographical error. A custom filter or module, such as URLScan, restricts access to the file.Things you can try: Create the content on the Web server. Review the browser URL. Create a tracing rule to track failed requests for this HTTP status code and see which module is calling SetStatus. For more information about creating a tracing rule for failed requests, click here.Detailed Error Information:Module IIS Web CoreNotification MapRequestHandlerHandler StaticFileHandlerError Code 0x80070002Requested URL http://SERVER/en-GB/Retail-offer/Physical Path C:\EPiServer\Sites\ZZZZZ\wwwroot\en-GB\Retail-offer\Logon Method AnonymousLogon User Anonymous
Is language en-GB active as language in admin mode?
Is it the default culture on the host? (check in admin mode)...
If it's marked as default culture, the url should normally be http://SERVER/Retail-offer/.
For non default culture it should be http://SERVER/en-GB/Retail-offer/
with language segement. So there is a difference there depending on your setting...
The en-GB language is enabled in Admin Mode.
I cannot find default language setting in Admin Mode but in web.config we have entry:<globalization culture="en-GB" uiCulture="en-GB"Removing it does not help.
It's not that one. It's below manage Web sites in admin. Check out
Culture was empty. But after set it only URL is changed (removed language code), behavior the same.
I did not mention that our upgrade path was 7.1 > 7.5 (website worked) > 9.0
And also we have many languages enabled.
If it works in edit mode but gives 404 for users, the most common problem is that you have pages in the wastebasket. Might be worth checking. Turn on Episerver logs on info and see if that helps...
My trash is empty...
I have logs enabled but nothing with the issue is logged.
I think it is conencted with virtual paths.
Also during Commerce migration I had to clear content of tblPageProviderMappings. I have backup of the table but restoring it does not help.