Can't edited my Wordpress file

Discussion in 'WordPress' started by noorbaduk, Apr 4, 2010.

  1. #1
    I face a new problem. when I am going to edit my wordpress file for example; want to edit header.php , a message is shown
    'Sorry, that file cannot be edited'
    What am I now doing? Why I have to face this problem? Can anyone help me? I thankful to u for ur help.
     
    noorbaduk, Apr 4, 2010 IP
  2. proxywhereabouts

    proxywhereabouts Notable Member

    Messages:
    4,027
    Likes Received:
    110
    Best Answers:
    0
    Trophy Points:
    200
    #2
    Have you chmod the files? If not then go change permission of the files to 666.
     
    proxywhereabouts, Apr 4, 2010 IP
  3. deluxdon

    deluxdon Catch Me If You Can...!!!™ Staff

    Messages:
    25,482
    Likes Received:
    1,943
    Best Answers:
    32
    Trophy Points:
    480
    #3
    Its just because of file permission. Change permission or download it through any FTP client and edit it then upload it.

    DON.
     
    deluxdon, Apr 5, 2010 IP
  4. AlohaThemes.com

    AlohaThemes.com Active Member

    Messages:
    128
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    83
    #4
    * Using your FTP client, navigate to your active Theme's folder (/wp-content/themes/(your theme folder).
    * Once in there, right click on the header.php file.
    * Select the Prperties/CHMOD/Permissions option from the context menu.
    * Change the permissions to '777' to make the file writable. Click Ok.
    * You should now be able to edit your file within the editor

    HTH - Scott
     
    AlohaThemes.com, Apr 5, 2010 IP
  5. noorbaduk

    noorbaduk Member

    Messages:
    131
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    26
    #5
    thank u to all. I try to fix the problem
     
    noorbaduk, Apr 7, 2010 IP
  6. Jalpari

    Jalpari Notable Member

    Messages:
    5,640
    Likes Received:
    137
    Best Answers:
    0
    Trophy Points:
    260
    #6
    change chmod 666 for ur theme files so u can update files in wp admin.
     
    Jalpari, Apr 9, 2010 IP
  7. aaheroe

    aaheroe Active Member

    Messages:
    231
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    75
    #7
    dont forget after you change pemsission a file, change it back . better use chmod 666 not 777
     
    aaheroe, Apr 10, 2010 IP
  8. jinmin

    jinmin Active Member

    Messages:
    448
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    58
    #8
    hmm..I did faced the same issue few years back. Try to chmod the file permissioin but doesn't help, and really no idea why. Finally, I reinstall the WP and everything is fine.
     
    jinmin, Apr 11, 2010 IP