I am trying to build our own internal URL shortening service since show many of the main ones are being blocked as spam (we use bit.ly now).
What I would like to do is have a URL with an id attached to it which hits a page, looks up the long URL and then forward it on to it. I'm good with everything but the first part.
Here is the kind of URL I would like to send: http://acbd.us/1234567 or http://acbd.us?1234567 where 1234567 is the id we need to look up. I have seen this with other sites but just have no idea how to go about it without referencing a file (lookup.cfm?id=1234567). The whole point is to make it as short as possible.
I have been searching Stack and elsewhere and can'y find a thing.
Thank you and any feedback would be greatly appreciated.
There are pleanty of free self-hosting options of URL Shorteners if you can't figure out how to make your own.
https://github.com/awesome-selfhosted/awesome-selfhosted#url-shorteners