github.io coming twice in page link #46735
-
Select Topic AreaQuestion BodyWhen I make my portfolio website so I got this link (https://ritesh-ojha.github.io/Portifolio.github.io/) but I see others have only (Portifolio.github.io) only can you tell me why this happening. ? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Every GitHub user is given a "user" site in the form You can rename your GitHub account if you want to change your default Pages URL. But at this point I would suggest setting up a custom domain instead. You can learn more about the two kinds of Pages sites here: https://docs.github.com/en/pages/getting-started-with-github-pages/about-github-pages#types-of-github-pages-sites. |
Beta Was this translation helpful? Give feedback.
-
I have the same problem (06/12/2025) I think I has to do with the way you set up the DNS and "Homepage" in package.json. If I take off the custom website in github pages and set the "Homepage":"https://USERNAME.github.io/REPOSITORY/" it won't show twice but if I add the custom website and set up your homepage like this "Homepage":"https://USERNAME.github.io/", it'll show twice. |
Beta Was this translation helpful? Give feedback.
@ritesh-ojha are you able to solve the problem? please let me know. thank you