Clients websites are loaded from the public_html folder also known as web root. If you have a script installed under a subfolder of your account and you want it to be accessible by typing your domain, you should add the following lines in the .htaccess file located in the public_html folder:

 

RewriteEngine on
RewriteCond %{HTTP_HOST} ^yourdomain$ [NC,OR]
RewriteCond %{HTTP_HOST} ^www.yourdomain.com$
RewriteCond %{REQUEST_URI} !script_folder/
RewriteRule (.*) /folder/$1 [L]

 

You should change „yourdomain.com“ with  the actual domain and „script_folder“ with the actual script folder where the script is located.