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>
Written by Tony Brown
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Osx
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#