-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
404 that is triggered without language prefix is not redirecting properly #143
Comments
Hi Anke, Ik heb het net met de nieuwste versie getest en daar lijkt het wel werken! |
@anketwokings does it work for you in the new version? |
Also, If it doesn't, could you post your routing.yml and the translate config? |
@lenvanessen @SahAssar Sorry, not my project, but I have alerted my coworker to upgrade. I'll let you know if anything new comes up. (sorry, I know this is not really constructive, but i'll follow up on this) :) |
Hi @anketwokings, Did you find anything? |
Hmm, looking at this again (with slightly more ☕️ ) this is the expected behaviour. The homepage we redirect (and have a special controller for it), but any other pages just have their url and that's it. My thinking was that this is just like if you have |
Wait, no, Someone give me reading lessons, cause apparently I can't read. @anketwokings Sorry! In the above reply I was assuming that this issue was about the non-locale version was not redirecting to the default locale, when it was actually about it showing an error message instead of the 404, right? That problem I can't really reproduce on my test setup, would it be possible for you to get a debug trace on what led to the whoops? |
Hi @SahAssar , just updated to Bolt In the Is there a possibility when having Backtrace of the error:Here my
|
@lenvanessen @SahAssar |
@nestordedios Does it not display the normal 404 when you are not logged in (and have Because it really should just like you should get a 404 on |
@SahAssar when I'm not logged in and I have After setting |
@nestordedios I can't reproduce here, can you share your routes file as well? (If you've made any changes) |
Hi @SahAssar and @lenvanessen , First of all my apologies for the wrong comments posted before. I've been using the wrong When using the correct I'm using the
and for the search engines to find out about the site structure:
When Error screenshot:
|
@nestordedios |
¡Hola!
When you request a page without the language prefix, you don't get the 404 that you defined in the Bolt config.
How to trigger
mydomain.com/en/nopagehere -> Gives the Bolt-defined 404 page * good! *
mydomain.com/nl/nopagehere -> Gives the Bolt-defined 404 page * good! *
mydomain.com/nopagehere -> Gives a 'whoops something went wrong' error * b0rk *
What I expected
mydomain.com/nopagehere -> Should give the configured 404 page
I already apologize in advance if this is fixed in a newer version! I am just plain lazy and like adding issues. And besides that, this is a great extension. Every time it is used, a kitten smiles. Did I say one? All kittens!
extension version: 4.0.6
The text was updated successfully, but these errors were encountered: