Last Updated: February 25, 2016
·
393
· pixel67

Wordpress permissions on local dev machine

I am developing a custom Wordpress Theme for a client. I haven't used WP in a few years and had problems with uploading images and themes to my local install of Wordpress.

I thought this might help others that are getting the
403 forbidden error when trying to upload to the WP installation.

Add this to your wp-config file

define('FS_METHOD', 'direct');

Add this to your username.conf file

 <Directory "/Users/username/Sites/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Allow from all
</Directory>