简体   繁体   中英

Removing Custom url from github.io

I have created a github page: isha97.github.io. I added a custom url to it and removed it later. Now when I try to open isha97.github.io, it redirects to the custom url. I have checked my repo for any CNAME file. It doesn't have any CNAME file. Should I delete my repo and make it again?

You don't need to delete the repo. just create a new branch using github web interface, type gh-pages and press enter:

在此处输入图片说明

Now go to your repo's settings, and change github pages source to gh-pages.: 在此处输入图片说明

This will automatically clears any cache or dns issues...

Update @Isha, I just checked your website and its working fine: https://isha97.github.io/

Sometimes github page may take a while to get updated while performing cname changes. See this page form more info on troubleshooting the domains: https://help.github.com/articles/troubleshooting-custom-domains/

GitHub uses a 301 redirect for custom domains. Your browser still has the redirect cached. Try opening a nonexistent URL on your GitHub Pages site and setting a cookie. Then, clear the cache for your site in your browser settings.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM