RewriteEngine On

# If the site is uploaded to the project root in cPanel, redirect to public/
RewriteRule ^$ public/index.php [L]
RewriteRule ^(.+)$ public/$1 [L]
