ctw/ctw-middleware-apex

This PSR-15 middleware redirects with an HTTP 301 ("Moved Permanently") Location header an apex domain to www e.g. example.com to www.example.com.

3.0.17 2023-08-28 12:55 UTC

This package is auto-updated.

Last update: 2024-04-04 06:54:14 UTC


README

$ composer require ctw/ctw-middleware-apex

Redirect apex domain to www domain. e.g. example.com to www.example.com.