How to Fix the 500 Error Caused by "FollowSymLinks" in Plesk
Recent Plesk Panel versions have (correctly) tightened security by disabling theFollowSymLinks directive by default. While this is a good security practice, it often causes a "500 Internal Server Error" when installing or updating many popular web applications (like WordPress, Joomla, etc.) that try to enable this setting in their .htaccess file.If you’ve suddenly hit this 500 error, here are the two ways to solve it.
1- Change the Setting in Plesk
This method works, but it lowers the security for that specific domain. Only use this if you have no other choice.- Log in to your Plesk Panel.
- Navigate to Websites & Domains and click on the domain you need to fix.
- Go to Apache & nginx Settings.
- Find the option "Restrict the ability to follow symbolic links" and uncheck it.
- Click Apply or OK.
2- Fix via .htaccess
This is the better, safer solution. It keeps your server's security intact and just removes the specific line that Plesk is blocking. The 500 error is happening because your.htaccess file contains a command that Plesk no longer allows.- Connect to your website's files using FTP or the Plesk File Manager.
- Open the
.htaccessfile located in your website's root directory (e.g.,/httpdocs). - Look for the following lines. They may have a
+or-sign.
Bash:Options +FollowSymLinks Options +Indexes - Delete these specific lines entirely (or comment them out by adding a
#at the beginning of each line). - Save the
.htaccessfile.
Last edited by a moderator: