/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.

Primary LanguagePHPBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

ctw-middleware-apex

$ composer require ctw/ctw-middleware-apex

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