Skip to main content
Drupal is a registered trademark of Dries Buytaert
EOL Warning: Drupal 11.0 has reached end of life and no longer receives security updates. Release: Private content 3.1.0 Minor update available for module private_content (3.1.0). Release: Webform Analysis 2.0.0 Major update available for module webform_analysis (2.0.0). Usage Milestone: Focal Point Module focal_point crossed 1,000 active installs. Release: Opensolr Search 4.3.1 Minor update available for module opensolr_search (4.3.1). Release: Opensolr Search 4.3.0 Minor update available for module opensolr_search (4.3.0). Release: Palette🎨 1.0.3 Minor update available for module canvas_palette (1.0.3). Release: Opensolr Search 4.2.4 Minor update available for module opensolr_search (4.2.4). Release: Changelogify 1.8.0 Minor update available for module changelogify (1.8.0). Release: Opensolr Search 4.2.3 Minor update available for module opensolr_search (4.2.3).

This module allows administrators to create and publish static HTML landing pages at custom URLs. Uploaded HTML files are served directly without any Drupal theming, making it ideal for campaign pages managed within Drupal but rendered as plain HTML.

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

  1. Place the module in 'modules/custom/slp' (or install via Composer once published).
  2. Enable the module at '/admin/modules'.
  3. Grant permissions: 'Administer static landing pages' ('administer slp landingpages')

Usage

  1. Go to Content → Static landing pages ('/admin/content/slp-landingpage').
  2. Click Add static landing page.
  3. Set:
  4. - Title
  5. - Published
  6. - Path (must start with '/', no spaces, no '?' or '#')
  7. - HTML file ('.html' / '.htm')
  8. 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

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Apr 2026
Latest release
4 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Core Release date
1.0.x-dev Dev 10 Apr 16, 2026