Deploying a Site on Hostgator you need Take Care of Correct Permissions…
The Permission for File Need to be:
chmod 744 yourFiles
For Directories just set to:
chmod 755 yourDirectories
To Quick setting Permissions all over your Domain go at:
Setting Permissions Recursively on Web Server
Next if you have a Composite URL with Sub-Directories you will need to Create
/non Cpanel As Many Sub-Domains As Sub-Directories.
Example if you have an URL like that:
promozione-turismo.com/posizionamento-google/index.php
You need to go on Cpanel > Subdomains and Create a Subdomain:
posizionamento-google.promozione-turismo.com
Pointing to:
~/public_html/promozione-turismo.com/posizionamento-google
If not your URL will Not Work :)