How to make a github page without specifing the repository?

I made a github page at https://lucaforever.github.io/discord_bots , and today I saw a page ( https://sildurs-shaders.github.io/ ) and saw that there is nothing after the /, like mine. I was wondering how this is done. Thank you.

That sounds like a user or organization page. Those work with special repository names with the pattern <username>.github.io, as described here:

@airtower-luna


Still does not work.

image

Well, your username isn’t discordbot_tutorial, is it? That pattern works only for the user/organization in question.

@airtower-luna
i think i get it

nope

@airtower-luna
Do you know why is this happenning?

Probably because there is no repository lucaforever.github.io on your account. Please see the documentation I linked, it’s described in detail there.

@airtower-luna
I did, and did all the steps there, no actual result, only this page

It looks like you’ve named your repository LucaForever/discordbot_tutorial.github.io. GitHub only provides a single github.io URL per account, using the account username. In your case yours would be LucaForever.github.io.

If you’d like to host your site directly at this URL you’ll need to rename your discordbot_tutorial.github.io repository to LucaForever.github.io.

1 Like