hi Kentico training,
I tries to follow the exercises from the beginning within the training course, Kentico Xperience 13 for developers: Essentials, and I have some question. I hope you can help me explaining it for me.
I got the solution code files and the CI files from the https://github.com/Kentico/xperience-training-13 from the branch xp-for-developers-essentials
In this particular exercise:
Displaying content on the live site --> Exercise: Implementing a home page. There is a step where it says "Hide language prefix in default culture URLs: false"
After I set it to "false", I cannot load the home page. It always shows "Not Found". When I first run the solution from the VS by press F5 (or Ctrl+F5), it lands on http://localhost:25291/home/. I tried to change it to http://localhost:25291/en-us/home/ but doesn't work as well.
It only works if I set "Hide language prefix in default culture URLs: true" instead. I am not sure if I missed anything. I barely touch the code that I get from the above repo. Could you please point out in which code that I should look at?
Thank you in adv.
I would try clearing the browser cache from the beginning of time. Browser is caching the 301 redirects and also 404 pages...
Most likely the system is caching those values. So go to the System application and click clear cache. That should help you move forward
tried the clear cache but still doesn't work, Brenden.
Ah, it works! thank you so much Juraj and Brenden. It is working as expecting now, Cheers ;)
Please, sign in to be able to submit a new answer.