Delete Webpage
Call & Example Call
affx.rm("page", domain="", path="")
affx.rm("page", domain="affx.ai", path="/us")
Parameter Description
domain: Website domain, such as example.com. MUST be a website that has already been generated.
page: It can start with / or without /, supporting second-level URLs, such as blog/us or /blog/us. MUST be a web page that has already been generated.
Core Function
Delete a specific generated web page within the specified website.
Features
- The web page will no longer be accessible on the internet.
- It will be automatically removed from the sitemap.
Example Output
Output
Confirm deletion of page “us”? (y/n): y
Successfully deleted "us"!
