Create Shortened Addresses Using Domains You Have

Asked 2 years ago, Updated 2 years ago, 97 views

We've seen long domains shrink like goo.gl/Sa1mpl2e.

To use the domain I have (ex: mydomain.com) to reduce it to mydomain.com/Sam1pLe2 like this

What should I use?

web

2022-09-22 11:13

2 Answers

I think the short address site should consist of two functions.

(1) Enter the url you want to reduce at mydomain.com, and shorten the address (2) The function of redirecting to the original url corresponding to the address when a request is made to a shortened address

To implement these functions, I think we can use the web framework. You can implement it with a web framework that fits the programming language you want.


2022-09-22 11:13

It's not technically difficult, but in the simplest case, you can just create a php file on Apache, but how about using an open source that's already made because it's annoying to create an interface and so on?

If you want to see a simple implementation for yourself, https://github.com/azlux/Simple-URL-Shortener can help you.


2022-09-22 11:13

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.