statamic / ssg

The official Statamic Static Site Generator
230 stars 23 forks source link

Bug with redirect & mounted collection on Netlify #41

Closed jcohlmeyer closed 3 years ago

jcohlmeyer commented 3 years ago

I found when I had a page with a redirect in my pages collection to an entry in another collection (that was mounted to the redirect in my pages collection) I got a redirect loop when deployed to Netlify. However it did work fine locally.

To get around this I set up a navigation for my main navigation instead and used a link instead of an entry to link directly to the entry in the other collection and have custom link text (on the entry title).