Search

Redirect http traffic to https site using MAMP PRO interface

  1. Go to your Settings > Hosts > Apache tab in MAMP PRO.
  2. Add the following lines to your Additional Parameters for directive:

MAMP

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{SERVER_NAME}/$1 [R,L]