Skip to content

vornexx/easydirect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

โŒจ๏ธ Introduction

This script(.js) is included in the HTML code above. It automatically redirects the user after a specified delay. Also, ignore the domains directory, that's just for an is-a.dev subdomain.

โ“ Notes :

You can replace the redirect URL with the URL of the website you want to redirect users to. You can adjust the delay before the redirect by changing the value in setTimeout. You can also add a button that allows users to manually redirect to the website if they don't want to wait.

โš ๏ธ Remember to replace the following

"https://example.com" with the URL of your desired website. Also, at line 9 and 10 in the index.html file you can configure what the main text in the container says.

๐Ÿ’ป Demo-View (spotify used in this instance)

image

โš“ Now that you've read through, let's create your own redirection page!

It's dead simple, just fork or download the source code on the releases section, and follow the steps above to get your redirection page up and running. Please refer to notes I explained earlier here! โคด๏ธ

๐Ÿ”จ More steps & Hosting

In order, I would have to use... Github(for you to fork or download this repo), after would be Visual Studio Code(if you chose to download my repo, otherwise just edit the code in GitHub), then Vercel or Cloudflare for hosting your page! (can be hosted from anywhere of your choice. however, it must be able to host html files)

๐Ÿชถ SEO (search engine optimization)

Remember to keep the page light, under 1kB, having a low SEO load can help load/reload the pages faster. This can aid in getting the user to the target quicker, and some users may find the website faster due to search engines increasing chances of your site being in the top search results, reason being search engines like Google likes to have faster loading websites appear first to the user.

๐Ÿง  If this is all too "word-sy"?

You can also use Gemini from Google or ChatGPT from OpenAI .

NO

About

redirection page ๐Ÿ’•

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages