If your host has restrictive permissions for all files, don’t worry you can very easily override file permissions in WordPress.
Open your wp-config.php file (present in your WordPress site’s root directory) and define the permissions as shown below:
define(‘FS_CHMOD_FILE’, 0755);
define(‘FS_CHMOD_DIR’, 0644);
Sharing is Everything:
- Click to share on Twitter (Opens in new window)
- Click to share on WhatsApp (Opens in new window)
- Click to share on Facebook (Opens in new window)
- Click to email a link to a friend (Opens in new window)
- More
- Click to share on Pinterest (Opens in new window)
- Click to print (Opens in new window)
- Click to share on LinkedIn (Opens in new window)
- Click to share on Pocket (Opens in new window)
- Click to share on Skype (Opens in new window)
- Click to share on Telegram (Opens in new window)
- Click to share on Tumblr (Opens in new window)
- Click to share on Reddit (Opens in new window)
Further Reading:
- Easiest Way For Displaying Downloadable Media File Button In WordPress Easy Media Download provides you the easiest way to add...
- Code Snippets: Adding PHP Functions & Filters Without Editing Theme Functions File In WordPress For customizing the default behavior of WordPress, webmasters either use...
- How To Enable File Attachment In BuddyPress Private Messages ? If you are running a BuddyPress networking site then you...
- Get Control Over Reading & Editing Permissions And Assign Restrictions & Roles To Specific Content In WordPress Role Scoper, a free WordPress plugin allows you to gain...
- How To Override Default Title Color Of WordPress Posts & Post Types ? New WordPress Colored Titles for each Post Type provides you an...
- Override Default WordPress Recent Comments Widget To Display Avatars Now you can easily (in just a click) override default...
- Easily Organize File Uploads By File Types (mov, gif, png, mp3…) Or Usernames In WordPress By default WordPress organizes your media files in ‘uploads’ folder...
- Quick, Easy & Clean Way To Add Hacks In WordPress Without Touching Functions File Now no need to hack theme’s function.php file, you have...
- Increase Security By Disabling PHP File (Plugins & Themes) Editing In WordPress Admin Area By default WordPress allows site administrators to edit PHP files...