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
We have special routes on our site for RSS feeds (facilitated by Feedamic) and for blog archives (facilitated by Bonus Routes). We have added them to SSG via addUrls, which seems to be working since pages are generated for these routes. However, the pages are a simple redirect to the homepage, not the pages that Statamic should be rendering (and does properly render when using the site regularly).
How can I get SSG to render the actual entries using the layout and templates, instead of this redirect stub?
The text was updated successfully, but these errors were encountered:
This turned out being an issue of where the routes are defined. I had defined my routes in /routes/web.php, but the SSG runs in the console only. When I added the same routes to /routes/console.php then SSG was able to render them.
This might be worth a reminder in the documentation.
We have special routes on our site for RSS feeds (facilitated by Feedamic) and for blog archives (facilitated by Bonus Routes). We have added them to SSG via
addUrls
, which seems to be working since pages are generated for these routes. However, the pages are a simple redirect to the homepage, not the pages that Statamic should be rendering (and does properly render when using the site regularly).How can I get SSG to render the actual entries using the layout and templates, instead of this redirect stub?
The text was updated successfully, but these errors were encountered: