Oct 072020
 

VPS Server Htaccess 403 Error post will share one method I used to troubleshoot the issue on my server.

Last Updated: October 11, 2020

Latest News: Updated the documentation.

What was happening is the following, every time I tried to save my permalink structure in my WordPress website it generated a 403 error. Also when I tried to save the permalink structure for an addon domain, it also crashed and generated the 403 error. Another words it could not write to the .htaccess file without generating the 403 error.

In my case the error logs for the 403 error generated was due to the following settings. These are the settings the support staff in Justhost pointed me too. I had to check the following in the WHM called Options – Allow Symlinks.

VPS Server Htaccess 403 Error Fix

Step 1 ) Log into WHM (Web Host Manager) as illustrated in the image below. Make sure your login has https in the URL address.

vps-server-htaccess-403-error-whm-login-new

Step 2 ) Go to the following page Home -> Service Configuration. See image below.

vps-server-htaccess-403-error-whm-homeStep 3 ) In the following image you will click on Apache Configuration.

vps-server-htaccess-403-error-whm-apache-configuration

Step 4 ) In the following image Apache Configuration click on Global Configuration.

vps-server-htaccess-403-error-whm-global-configurationStep 5 ) You can use the search bar on the upper-right of the page. Search for the word “symlink”. You will see the following option “Directory / Options”. Check the following options and “SymLinksIfOwnerMatch” if you also see the following option “FollowSymLinks” also enable it. Click on Save button check your website and make sure you don’t receive any more 403 errors.

vps-server-htaccess-403-error-whm-directory-options

If the above does not work then there might be some other settings or options that you will need to investigate.

This tutorial will be updated from time to time so keep coming back for the latest.

If you have any questions please let me know.

Enjoy.

I have been working in IT since 1999 and I enjoy the challenges it brings me. I love developing websites with WordPress. I spend a lot of time helping out in wordpress.org forums. I have been writing tutorials since 2011. Now I am learning how to manage my own VPS "Virtual Private Server.

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)

9 + 20 =