Options -Indexes
DirectoryIndex index.php
<IfModule mod_rewrite.c>
RewriteEngine On

# Portable HTTPS redirect. cPanel Force HTTPS may also be used.
RewriteCond %{HTTPS} !=on
RewriteCond %{HTTP:X-Forwarded-Proto} !https [NC]
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

# Friendly project claim URL, e.g. /claim/azman-referral
RewriteRule ^claim/([a-z0-9-]+)/?$ index.php?page=claim&s=$1 [QSA,L,NC]

# Invite-only People registration URL. Links are generated by Super Admin only.
RewriteRule ^join/([A-Za-z0-9]+)/?$ index.php?page=people_join&t=$1 [QSA,L]

# Private Customer Project Intake URL. Links are generated by Super Admin only.
RewriteRule ^customer/([A-Za-z0-9]+)/?$ index.php?page=customer_intake&t=$1 [QSA,L]
</IfModule>
