• I have installed wordpress on localhost and now I can’t install any themes or even edit the ones that are there. When I try to install the theme ‘One page C’, I zip it and put it in ‘XAMPP – htdocs – wordpress – wp-content – themes’.

    Then when I try to install the theme with the zip in wordpress, it says “is the parent folder writable for the server?”.

    Please help me.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi,

    You need to give the folder permission 755 to wp-content each sub-folders.

    Thanks

    Thread Starter ataa

    (@ataa)

    How do i do that?
    Thank you! ??

    through command line or the best way is to git bash to give folder permission
    install git if you dont have it
    go to your htdocs folder
    run gitbash as administrator and navigate to htdocs
    and execute this command
    ls chmod 777

    Thread Starter ataa

    (@ataa)

    I don’t know how to do it.
    I have already change the permission on the folders manually, where I give the users permission to ‘read and write’. But I don’t know where to change the number to 777?
    I have tried to open the terminal to put in the number there, but I can’t make it work.

    The change in permission gave me opportunity to change on the themes already active in wordpress, now I just can’t install new themes, then they are asking for my FTP informations?

    Ps. im working on a Mac. ??

    Thank you.

    $ cd /XAMP/htdocs/<thesite> <—– path to XAMP/htdocs/site
    $ sudo chown -R _www <thesite> <—- site folder name
    $ sudo chmod -R g+w <thesite> <– site folder name

    Forget XAMP, WAMP and all that crap – – –

    Make OSX a dev station: https://mallinson.ca/posts/5/the-perfect-web-development-environment-for-your-new-mac

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Cant install theme on localhost’ is closed to new replies.