This project is not covered by Drupal’s security advisory policy.
Static Landing Pages (SLP) lets site administrators create static HTML landing pages in Drupal and publish them at custom site paths (for example '/campaign-2026') while delivering the uploaded HTML as-is (no Drupal theme wrapper).
This module is designed for campaign-style pages that should be managed in the Drupal backend but rendered as plain static HTML.
Features
- Create multiple landing pages in the backend (admin content UI).
- Assign a custom path per landing page (e.g. '/campaign-xyz').
- Upload a single '.html' file that is served 1:1.
- Published/unpublished support.
- Dynamic route building (paths become active immediately after save).
Installation
- Place the module in 'modules/custom/slp' (or install via Composer once published).
- Enable the module at '/admin/modules'.
- Grant permissions: 'Administer static landing pages' ('administer slp landingpages')
Usage
- Go to Content → Static landing pages ('/admin/content/slp-landingpage').
- Click Add static landing page.
- Set:
- - Title
- - Published
- - Path (must start with '/', no spaces, no '?' or '#')
- - HTML file ('.html' / '.htm')
- Save and visit the configured path (e.g. '/campaign-2026').
Security notes
SLP delivers the uploaded HTML without sanitizing. Only trusted administrators should be allowed to upload HTML.
Project & maintenance
- Developed by: Kommune3
- Website: https://kommune3.org
Supporting organizations:
Sponsor
Project information
- Project categories: Content display, Content editing experience, Search engine optimization (SEO)
- Created by nikolai fischer on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
