Skip to main content

Website Configuration and Scope

PruneSEO keeps one website record per property. That record supplies the name, the discovery seed, the exact host the crawler may visit, and two access-related labels. It is also the anchor for every crawl, URL row and finding.

There is no working website settings screen in the customer web app in this release. The record is created and changed through the API. Do not look for a /sites/{siteId}/settings page; that route is not part of this product.

What the record contains​

FieldMeaning
NameYour team's label. Changing it does not change the site or its data.
Root URLThe discovery seed. Its host also defines crawl scope.
Normalized hostThe canonical host used to match a discovery seed and compare URLs.
Access modeA recorded label: public, verified or restricted.
Verification statusA recorded label: unverified, pending, verified, failed, expired or revoked.
VersionIncremented on every save, for conflict detection.
Archived atSet when the website is archived. Absent on live websites.

The first three fields are required when the record is created. A website also consumes one slot on the workspace's plan while it is live. See Plans and Upgrading.

Editing the record​

Reading websites requires an active workspace membership. Creating, editing, archiving or deleting one requires the global ADMIN role or the matching websites.* permission. The seeded organization roles do not include those permissions, so a normal workspace owner may be refused even though they own the workspace. See Roles and Permissions.

Use GET /api/v1/websites/:id to read a record. The response is the source of truth and includes an ETag header for the current version.

Update it with PUT or PATCH /api/v1/websites/:id. In the typed PUT body, every field is optional, so only what you send is changed:

PUT /api/v1/websites/<website-id>
If-Match: "<etag-from-the-last-read>"
{
"name": "Example",
"root_url": "https://example.com",
"normalized_host": "example.com",
"access_mode": "public"
}

Sending the ETag as If-Match protects you from overwriting somebody else's save. If the record has moved on, the API returns 409 VERSION_CONFLICT and includes the current version in details.current_version. Re-read the record, reapply your change and send the new tag.

Changing the record does not automatically run discovery or rewrite the URL inventory. Run discovery again when the seed or host needs to be reflected in the inventory.

Identity and host matching​

The normalized host is matched exactly. Letter case, a trailing root dot and the punycode/Unicode spelling of an IDN normalize to one host, but www.example.com, example.com and blog.example.com are three different hosts. PruneSEO does not merge www with the apex and does not expand scope to subdomains.

The host in root_url and normalized_host should therefore name the same property. If you want both www and the apex covered, add each host as its own website.

Access mode and verification status​

Access mode and verification status are stored separately because they answer different questions. Both are labels on the record in this release. Neither field currently gates a crawl.

Access mode​

ValueRecorded meaning
publicThe site is recorded as public, with no ownership verification assumed.
verifiedThe site is recorded as having had ownership or control verified.
restrictedThe site is recorded as restricted.

New websites start as public. The API accepts all three values, but the crawler does not branch on this field: a restricted record does not block a crawl, and a verified record does not unlock one. Treat access mode as a classification for your own process, not as a safety control. A crawl runs when it is started, subject to plan limits and the crawler's own safety guards.

Verification status​

ValueRecorded meaning
unverifiedNothing has been recorded. This is the starting state.
pendingA review is recorded as pending.
verifiedOwnership or control is recorded as verified.
failedA review is recorded as failed.
expiredA previous verification is recorded as expired.
revokedVerification is recorded as withdrawn.

PruneSEO does not run DNS, file or meta-tag ownership checks in this release. A pending status does not mean a background check is watching a DNS record, and a verified status is not evidence that the product proved anything. The status is a stored label that an operator can set through the API.

Crawl scope​

Crawl scope is built from the root URL:

  • Exact host only. Scope covers the host named by the seed. It does not include the apex when the seed is www, another www when the seed is the apex, or any subdomain.
  • Both HTTP and HTTPS. For that host, URLs on either scheme are in scope.
  • Standard ports. Ports 80 and 443 are allowed. If the seed names a non-default port, that one port is also allowed; no other port is.
  • Paths are not a boundary. The root URL starts discovery. A path such as /blog does not confine the crawl to /blog; the whole exact host is in scope.

URLs on another host, scheme or port are recorded as out of scope and kept as evidence rather than fetched. Robots rules, the plan's URL ceiling and the crawler's safety guards apply on top of scope. See Running and Monitoring Crawls.

Archiving and plan capacity​

Archiving puts a website away without destroying its history:

  • Archived websites are hidden from the default list; GET /websites?archived=true returns only archived rows and ?archived=all returns both.
  • The website's inventory, findings and record remain available.
  • It can be restored in one step.
  • It stops consuming a website slot immediately, because the plan counts live websites rather than charging for the act of creating one.

A single website can be deleted with DELETE /api/v1/websites/:id. Deletion is not the archive workflow: the record is removed from normal use rather than kept in the archived list. Prefer archiving when there is any chance you will want the history back.

Archive and restore are bulk actions:

POST /api/v1/websites/bulk
{
"action": "archive",
"ids": ["<website-id>"]
}

Use "restore" to bring an archived website back. This bulk route is guarded by websites.delete, even for archive and restore.

Bulk operations​

Portfolio work can be done in batches:

  • POST /api/v1/websites/bulk-create creates several websites.
  • POST /api/v1/websites/import imports the CSV template from GET /api/v1/websites/import/template.
  • POST /api/v1/websites/bulk-edit updates several records.
  • POST /api/v1/websites/bulk archives, restores, deletes or patches a selection.

Bulk writes apply the same validation as a single record and report row-level errors rather than silently accepting bad values.

What is not configurable​

Looking forReality
Crawl budget or per-site capNot a website setting. Every run uses the plan's URL ceiling and the platform's fixed safety limits.
Vertical presetNot implemented. Scope comes from the host, not an industry template.
Pause or active switchNot implemented. A crawl is controlled by starting or cancelling the run.
Access enforcementAccess mode is a recorded label; it does not permit or block a crawl.
Automatic ownership verificationNot implemented. Verification status is a recorded label.
Google Search Console propertyNot implemented. There is no Search Console connection.
Crawl schedulingNot offered. Runs are started deliberately.
Path-level scope, sitemap input, robots toggle or custom user agentNot configurable.

Next: Running and Monitoring Crawls.