Question about file permissions in WordPress

Discussion in 'Web Design and Development' started by olup, May 17, 2013.

  1. olup
    Expand Collapse
    macrumors 6502

    Joined:
    Oct 11, 2011
    #1
    So the time has come that I'm developing my first wordpress theme.

    Since I'm testing on my localhost and I wanted to be able to install plugins and upload images, I changed the permissions of the theme's content I'm working on to 777 by editing them in the get info respectively.

    However I'm unsure to what settings I should change those settings when the theme goes live. As I've read that 777 imposed quite a security issue.

    Should I do that in get info again or is it better to do it in the ftp client?
     
  2. SandboxGeneral
    Expand Collapse
    Moderator

    SandboxGeneral

    Staff Member

    Joined:
    Sep 8, 2010
    Location:
    Virgo Supercluster
    #2
    The file permissions on my WordPress theme are 6 4 4 and that's just a sample of one of the pages - footer.php. Once you upload the files to your server, you may want to spot check the permissions on the files, especially your config files. They shouldn't have write permissions unless your working on them.
     

    Attached Files:

  3. olup
    Expand Collapse
    thread starter macrumors 6502

    Joined:
    Oct 11, 2011
    #3
    Thank you very much for the quick response, changed the permissions and hopefully all goes well.

    :)
     

Share This Page