This content originally appeared on Raymond Camden and was authored by Raymond Camden
One feature that some CMS systems have is the ability to handle short URLs that map to pages on the site. I'm not talking about services like TinyURL, but internal systems specific to a site. So for example, Adobe.com supports "go" URLs where you can go to this url: https://adobe.com/go/coldfusion and it maps to https://www.adobe.com/products/coldfusion-family.html. I decided to see if I could implement this with Eleventy. My demo is using Netlify but in theory could work anywhere that lets you specify redirects via a file.
This content originally appeared on Raymond Camden and was authored by Raymond Camden
Raymond Camden | Sciencx (2021-06-22T18:00:00+00:00) Dynamic Short URLs with Eleventy. Retrieved from https://www.scien.cx/2021/06/22/dynamic-short-urls-with-eleventy/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.