the shorter .htaccess is for redirecting from ss-root to public dir

you should have this in your public folder: (edited)


Yeah I'm using the public_html/.htaccess

the "more complicated" one is public/.htaccess

well.. is that in your webroot? You should try to make public your webroot. That's better, cause no php scripts will be accessible from outside (beside public/index.php). You need to move assets to public then and expose all your custom resources (images, css, js...)

Now its only: RewriteEngine On RewriteRule ^(.*)$ public/$1

Files: Requires logging in to the Slack workspace to view/download
Untitled (Plain Text)

Isn't that important on a website?