TIP: You can type at any time to perform a new search.
Website Exclude Sitemap
website_exclude_sitemap · OCA/website
- Repository
- OCA/website · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Website
- Folder size
- 0.12 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/website
- Last tracking update
- 2026-09-17 11:19:30
- Authors
- Odoo Community Association (OCA), Binhex
- Maintainers
- Odoo Community Association (OCA), Binhex
- Committers
- OCA-git-bot, Edilio Escalona Almira
- Odoo dependencies
- Python dependencies
- geoip2
- System dependencies
- None
- Required by
- None
- Description
This module lets website administrators exclude public website URLs from `/sitemap.xml`. The module only affects sitemap generation. It does not unpublish pages, change access rights, or block direct access to the excluded URLs. It also clears the cached sitemap when website pages are created, deleted, or their URL changes, so sitemap URLs are refreshed in the next sitemap generation.
Code Analysis ⓘ
Views touched (1)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
res_config_settings_view_form |
website.exclude.sitemap.res.config.settings | res.config.settings | form | Inherits website.res_config_settings_view_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (3)
New fields (1)
-
sitemap_excluded_pathsTextreadonly=Falserelated='website_id.sitemap_excluded_paths'
-
action_reload_sitemap(self)
New fields (1)
-
sitemap_excluded_pathsTextdefault=SITEMAP_DEFAULT_EXCLUDED_PATHS_TEXThelp='One path or pattern per line, comma, or semicolon. * matches inside one path segment, ** across segments, and a trailing / excludes a path and everything below it. Examples: /contactus, /solutions*, /blog/*/feed, /customers/, /jobs/**'string='Sitemap Exclusions'
-
create(self, vals_list)@api.model_create_multi -
write(self, vals)
New fields (0)
No new fields.
Public methods (3)-
create(self, vals_list)@api.model_create_multi -
unlink(self) -
write(self, vals)