WordPress.org

Ready to get started?Download WordPress

Forums

File Permissions in WordPress - Only highest allows site to display! (4 posts)

  1. goldford
    Member
    Posted 5 years ago #

    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

  2. Samuel B
    moderator
    Posted 5 years ago #

    try
    chmod 755 on folders
    chmod 644 on files
    this is safe

  3. goldford
    Member
    Posted 5 years ago #

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

  4. rebeccaweger
    Member
    Posted 5 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic