Support » Fixing WordPress » File Permissions in WordPress – Only highest allows site to display!

  • Hi,

    I’m having problems with file permissions. I recently upgraded my server and am still having the same issue. What happens is that to have the blog pages viewable I must set the permissions .htaccess and index.php, wp-config.php, etc. in the blog directory to ‘777’! I know this is not safe, but when I change .htaccess to ‘750’ I get a “Forbidden” message when accessing the index.php and when .htaccess is ‘777’ and all other files are ‘750’, I just get a blank screen when accessing the site. I think many of these files should have permissions set at ‘640’ – does anyone know what is going on?

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • try
    chmod 755 on folders
    chmod 644 on files
    this is safe

    Thanks Samboll!
    Update: If I change the permissions to 755, then the site is accessible.

    I tried to chmod 775 on my folders (I can’t import an old blog into my update folder, nor can I insert images into a post), but as I drill down to the subfolders in update (2009 –> 06) I see that I’m not the “owner” of these folders (httpd is) and my attempt to chmod is denied.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘File Permissions in WordPress – Only highest allows site to display!’ is closed to new replies.