Drupal is a registered trademark of Dries Buytaert
Drupal 11.4.3 Update released for Drupal core (11.4.3)! No Request New Password 8.x-1.6 Minor update available for module noreqnewpass (8.x-1.6). Entity Usage 5.0.0-beta2 New beta version released for module entity_usage (5.0.0-beta2). amazee.ai Private AI Provider 1.3.3 Minor update available for module ai_provider_amazeeio (1.3.3). SharePoint Connector 1.0.7 Minor update available for module sharepoint_connector (1.0.7). Webform GeoIP Restriction 1.1.8 Minor update available for module webform_geoip_restriction (1.1.8). MCP Sentinel 1.8.0 Minor update available for module mcp_sentinel (1.8.0). Burndown 1.0.67 Minor update available for module burndown (1.0.67). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs. ActiveTickets Client 1.0.1 Module activetickets_client updated after 9 months of inactivity (1.0.1).

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

Activity

Total releases
1
First release
Apr 2026
Latest release
2 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

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