![]() Open up your wp-config.php file, located at the root of your WordPress installation, and add the following code define('UPLOADS', 'wp-content/yourfoldername') Your code of defining the path is not the correct way define('UPLOADS', '//wp-content/uploads') Can you guys give me the first step, the exact way to change permission settings of a folder in MAC? I tried to use Filezilla but I cannot find the command to chmod folders, at least in the Mac version.įrom your code you no need to define the path of your website as like Not sure why you targetting the path as with your site url? It take automatically of your corresponding site path you don't even put a path including your site url. It seems this whole changing permission settings is getting more and more confusing. Method 2 didn't work especially since it restricted my permission settings I have to undo the command I did by changing "nobody" into my mac's username. ![]() Method 4: I unchecked the "Organize my uploads into month- and year-based folders" checkbox, then saved the setting changes inside Settings > Media.Īre there any better methods out there? Please help. Method 3: I also checked the "/wp-content" folder's permission settings (Right Click then "Get Info") which stated that "user" can read and write files, while "staff" and "everyone" can only read files. Sudo chown -R nobody:staff /applications/xampp/xamppfiles/htdocs/ Method 2: CHMOD the particular folder "" using Terminal Utility Method 1: I added the ff codes to the wp-config.phpĭefine('UPLOADS', '//wp-content/uploads') I already tried the ff methods to solve this: I also upgraded to the latest wordpress version (3.8.1). I encountered this problem when I am trying to upload image files to my wordpress.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |