Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
Thank you in advance for your patience and understanding on the matter.
In "Apache & nginx Settings" —
If you put this in both Additional Apache directives HTTP and HTTPS sections: <Directory /path/to/document/root/httpdocs>
AllowOverride None
</Directory>
And this in the Additional nginx directives section: location ~ /\.ht {
deny all;
access_log off;
log_not_found off;
}
if ($scheme = http) {
return 301 https://$server_name$request_uri;
}
You'll be well on the way. Apache will then avoid searching for any .htaccess files in your directory tree and will not read them if they exist, and Nginx will not allow people to read them. All you have to do is put all occurrences of directives you need from the .htaccess files into more <Directory> sections in the Additional Apache directives section to make it all work. Nginx will redirect all the HTTP to HTTPS requests before they even get to Apache. I run several WordPress sites without .htaccess enabled this way — you just have to be alert to the existence of new .htaccess files that are needed and write their contents into the <Directory> directives.