Reputation: 1129
I want to change the Root page in Wagtail.
But I am getting 404 all the time when I try http://localhost:8000/. Do I have to change the urls.py patterns?
I am doing this because of Wagtailtrans add-on. In order to work i have to redirect away from the homepage to my new page ot type TranslatableSiteRootPage
Upvotes: 2
Views: 3673
Reputation: 25292
You need to go to Settings -> Sites in the Wagtail admin, and add a site record to associate 'localhost' to your new homepage. (A site record for this exists on the default installation, but this would have been deleted when you deleted the default homepage.)
Upvotes: 8