mapzen / documentation

Configuration files, tools, and content to build Mapzen's documentation
https://mapzen.com/documentation
MIT License
25 stars 22 forks source link

URL redirect not working correctly when topic name includes .md #326

Open rmglennon opened 6 years ago

rmglennon commented 6 years ago

Something has gone wrong with this redirect.

The intent was for the topic to be removed from the published help, but leave it in the source GitHub repo for historical purposes (it has a deprecation note).

Commit to remove and add a redirect in April 2017 https://github.com/mapzen/documentation/commit/1f3d38547af2fc47b7a9e149feb32925990577a5#diff-fad393ad54b0a6ce3ceee3a06703f03c

Problem is that this topic does not display in the help by default, but you can still search for it and access it by URL, and it displays in the table of contents when you find it directly. The other redirects that are set up the same way work as expected, so this needs some investigation to determine why this one is different. Unfortunately, a user found this topic and seeing it caused some confusion.

In the meantime, I have removed the redirect altogether, and the page will now display a 404.

cc @dianashk @bcamper

rmglennon commented 6 years ago

The problem is that I used .md in the file name when I set up the redirect. This is fixed.

However, there is a deeper issue in that including the .md actually makes the topic display in the help...so think I'm going to keep this open.