You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we want to define an entry as the site's homepage, we always set the slug to __home__. As of the last update, this gets automatically rewritten to home, which stops the homepage from being found.
Steps to reproduce
Create an entry with slug __home__
Save it, re-open it and see the slug changed to home
Additional info
The problem is solved in a very quick and dirty way, if I change line 42 in craftcms/cms/src/helpers/ElementHelper.php to:
Description
If we want to define an entry as the site's homepage, we always set the slug to
__home__
. As of the last update, this gets automatically rewritten tohome
, which stops the homepage from being found.Steps to reproduce
__home__
home
Additional info
The problem is solved in a very quick and dirty way, if I change line 42 in
craftcms/cms/src/helpers/ElementHelper.php
to:The text was updated successfully, but these errors were encountered: