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.

4.0.0 2024-06-18 06:02 UTC

This package is auto-updated.

Last update: 2024-10-18 06:48:49 UTC


README

$ composer require ctw/ctw-middleware-apex

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