Delete a Site
此内容尚不支持你的语言。
To delete a site, you generally need to remove the files from your computer and, if you published the site, remove it from your cloud provider (e.g. GitHub, Netlify).
Delete Local Site
Section titled “Delete Local Site”To delete a site from your computer, simply delete the folder containing your site’s files.
Delete from Cloud Provider
Section titled “Delete from Cloud Provider”If you have deployed your site, you will need to remove it from your hosting provider.
GitHub
Section titled “GitHub”If you deployed your site to GitHub Pages:
- Login to GitHub.
- Navigate to your repository (e.g.
your-username/your-site).- If you can’t find it, check your Repositories list.
- Click Settings tab.
- Scroll to the bottom of the General settings page to the Danger Zone.
- Click Delete this repository.
- Confirm the action by typing the repository name.
Netlify
Section titled “Netlify”If you deployed your site to Netlify:
- Login to Netlify dashboard.
- Select your site from the list.
- Go to Site configuration > General > Danger Zone.
- Click Delete this site.
Cloudflare Pages
Section titled “Cloudflare Pages”If you deployed your site to Cloudflare Pages:
- Login to Cloudflare.
- Go to Workers & Pages and select your project.
- Go to Settings > Delete Project.
- Confirm the deletion.