• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WriteNowDesign - Wordpress and Ecommerce Website Design

WordPress, Joomla, Ecommerce Website Design

  • Home
  • Prices/Packages
  • WordPress
  • Services
  • Portfolio
  • Blog
  • About
    • Testimonials
    • Locations
    • Online Payment
  • Contact
  • Show Search
Hide Search

Call 303-907-6133 Email

WordPress or Joomla Commands to Change All Folder and File Permissions on Website

October 6, 2012 by Pat Fortino

Change All Folder Permissions to 755

find . -type d -exec chmod 755 {} \;

Change All File Permissions to 644

find . -type f -exec chmod 644 {} \;

If You Don’t Have SSH Access

If you don’t have SSH access on your host, you can still run the folder and file permission commands.

  • If you’re on a Mac, you can use the built-in Terminal application. Go to Applications > Utilities and launch Terminal.
  • If you’re on Windows, download and install Putty, the free SSH and Telnet program. Putty allows you to run UNIX commands on Windows. http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
  1. Download your complete WordPress or Joomla website. The best way to do this is to go to your cPanel, open the File Manager, navigate to the www or public_html folder, select all files and folders, and use the cPanel Compress command to create a ZIP file of all your website files and folders.
  2. Download the ZIP file of your website and save it in new folder on your computer.
  3. Unzip the ZIP file.
  4. Open Terminal or Putty and navigate to the folder where you extracted the ZIP file.
    IMPORTANT: Make sure you are in the right directory before you run the commands.
  5. Run the two commands shown above.
  6. Select all your website files and use your ZIP utility to compress them. On a Mac, select all the files, right click, and select compress.
  7. Use FTP or your cPanel File Manager to upload the new ZIP file to the www or public_html folder on your server.
  8. From the cPanel File Manager, select the zip file and click Extract to unzip the ZIP file. This action will overwrite all your website files and folders with the new files and folders that have the correct permission.
Pages: Page 1 Page 2

Comments are closed. If you have information to share, contact me here.

Previous Post: « Build a Responsive Joomla Template from Scratch Using Twitter Bootstrap
Next Post: Access Permission Does Not Work in Joomla 2.5 Upgraded Site »

Related

Primary Sidebar

Blog Categories

Call Today

Get a Free Quote

303-907-6133

Subscribe to News

News about WordPress, WooCommerce, & Technology

What’s New

  • WPForms Not Sending Notifications
  • Add Terms and Conditions WooCommerce
  • Fix WordPress AMP Validation Errors
  • Use the Classic Editor with Gutenberg Block Editor
  • Add a Message at Top or Bottom of WooCommerce Checkout Page
  • How to Link to a PDF in WordPress

Find Us On…

  • Facebook
  • LinkedIn
  • RSS

Call 303-907-6133 Email

© 2004–2022 · WriteNowDesign · Sitemap · Log in · Return to Top