Foundation docs site returning 404 errors #12565
Replies: 12 comments 6 replies
-
I am having the same issue. |
Beta Was this translation helpful? Give feedback.
-
The links seem to be correct on the homepage but wrong on the subpages |
Beta Was this translation helpful? Give feedback.
-
I just found this as well. Apparently the links are no longer including the full path. They all start with /, so are not relative. If they were relative to the current page, it would probably all work. Here is the workaround for now: Add /sites/docs/ in front of the page. For example, if you navigate to Button Group from the menu, you end up at https://get.foundation/button-group with a 404 error. You need to add /sites/docs/ before button-group like this: https://get.foundation/sites/docs/button-group Not sure why this changed. Could be a regeneration issue. Will investigate and see if I can see a commit that went wrong. Hopefully @joeworkman can fix this shortly. |
Beta Was this translation helpful? Give feedback.
-
I suspect this is a generation issue. I can not find any recent commits that would account for this new behavior. It is probably related to a NodeJS or configuration issue that added the absolute paths. It looks like the site source uses relative links (which should work) here: https://github.com/foundation/foundation-sites/blob/develop/docs/partials/component-list.html But the generated HTML uses absolute paths (starting with a /). I also noticed that the site supports no extension, or a .html or .htm extension. Hopes this helps. |
Beta Was this translation helpful? Give feedback.
-
Looks like it has been 6 days since this was reported, and it is still an issue. Big turn-off for trying to get info from Foundation docs. |
Beta Was this translation helpful? Give feedback.
-
@joeworkman Any chance you could take a look at this please? |
Beta Was this translation helpful? Give feedback.
-
Still not fixed. Does anyone have a backup copy of the docs that we can upload somewhere? Or are we doomed to using Archive / Wayback Machine until this project finally disappears for good : ( https://web.archive.org/web/20230524083334/https://get.foundation/sites/docs/xy-grid.html |
Beta Was this translation helpful? Give feedback.
-
Add /sites/docs/ in front of the page you want for now. All the docs in the repo directly as well. |
Beta Was this translation helpful? Give feedback.
-
Until they fix it can be accessed by html files, examples: https://get.foundation/sites/docs/accessibility.html and so on If you don't find a file, you can track it with Google, for example search: foundation global styles |
Beta Was this translation helpful? Give feedback.
-
@joeworkman @zurbchris @zurbrandon @DanielRuf Can someone please take a look at this issue with the side menu navigations of the Docs pages not working correctly please? It's been two weeks now that it's been broken and there are several issues and discussions threads for the same thing. I'm not sure what the issue is exactly and what needs to be done to resolve it (looks like some kind of hosting / routing issue) but if I can help in any way please let me know. This reflects poorly on Foundation as a project when the basic ability to look at the documentation isn't working. |
Beta Was this translation helpful? Give feedback.
-
Sorry for the delay guys. I just wrapped up a big launch until yesterday and I have had to put the blinders on to get it all done. This is very strange. I am not sure how this happened because I have not changed the docs site for a while. I will look into it now. |
Beta Was this translation helpful? Give feedback.
-
OMG! So it's all fixed now. But let me tell you the story of the past 12 hours.... The build has worked and had not changed for like 7 months. However, the links were broken on server hosted by Netlify. Foundation required a pretty old version of node. Netlify suggested that I update node. Well in order to do that, I needed to completely overhaul the dependencies and run a million tests to ensure that we could run on a newer version of node. So win No. 1 today is that we have now have Foundation 6.8.0. This version now requires node 16 but will also run great under node 18 and 20. This is a pretty awesome win if you ask me. With all of that published, I was feeling pretty good with myself and published the new build to Netlify. No dice. 😭 After probing and looking around, Pretty URLs was enabled on the site. This completely modifies your URLs to your pages. I turned off that checkmark and it was magically fixed! They must have recently launched this feature and turned it on by default. It could have been a 30sec fix had I known. But now we have F6.8, so let's call it a good day. 😎 |
Beta Was this translation helpful? Give feedback.
-
Hi,
It looks like there is an issue with the Foundation docs site, it's giving a 404 error when you try to access any content pages within it:
https://get.foundation/sites/docs/
Thanks,
Rick
Beta Was this translation helpful? Give feedback.
All reactions