Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Detect redirect from/to collisions and warn user at build time #164
My Reproduction Steps
Get error or warning. Prefer error.
changed the title from
Two posts, One redirect_from pathname, No errors, No warnings
Detect redirect from/to collisions and warn user at build time
Oct 17, 2017
In general, I don't think that Jekyll does any checking at all to make sure each URL is unique. I don't think this plugin should be a special case.
I certainly agree that something like this would be useful when debugging, and I can remember a couple error reports that would have benefitted from this check, but I think that any duplicate URL checks should be done by Jekyll itself rather than by individual plugins.