Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Sounds like a caching problem. Do you have cache anywhere for the url resolving?
Yeah, it's a bug I stumbled upon myself earlier. I did a work around here until it's fixed
https://world.episerver.com/blogs/Daniel-Ovaska/Dates/2020/9/improved-url-caching-in-episerver/
Found out that this was fixed in EPiServer.CMS.Core 11.20.0:
https://world.episerver.com/documentation/Release-Notes/ReleaseNote/?releaseNoteId=CMS-16555
Hi,
When I change the name in URL in edit mode and publish the page the URL is changed and I can view the page if I choose View on website. However, when I try to reach the page through the navigation of the site I'm directed to the old URL.
The navigation gets the URL to the page with:
url = _urlResolver.GetUrl(contentReference, null, new VirtualPathArguments() { ContextMode = ContextMode.Default });
If I debug I can see that the URL fetched here is the old one. Does anyone know why I'm not getting the new URL here?
Also, if I restart the website, the URL is updated with the new one.
Thanks