Can't access subfolders on my domain

Hi, I’m having an issue which I think could be permission related, or maybe not.
I have a domain example.com which is accessible but on trying to access a subfolder (subdirectory) e.g. example.com/site I get the error “Internal Server Error…….Error code: 500”.
This is after moving a website from cpanel to Hestiacp.
Wondering what the problem might be yet I have set all the permissions right.

Got the solution to this, the website was a wordpress site which came with its own .htaccess file from cpanel which was using litespeed webserver. To solve the error simply use the default wordpress .htaccess file:

# BEGIN WordPress
# The directives (lines) between "BEGIN WordPress" and "END WordPress" are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress
2 Likes