Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Static Landing Pages

No security coverage Under active development

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

Ask your assistant about Static Landing Pages

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

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
5 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

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