Support » Localhost Installs » Unable to add new theme to website hosted on my ubuntu

  • Hi

    I installed wordpress on my Ubuntu 12.10. The website loads perfectly on localhost/wordpress.

    I cant install new themes through the dashboard->Appearance->Themes->Install New themes way. I understand it is because of the permission issues.

    In the past I remember overcoming this by problem a few years ago on some other maching by manually copying the theme folder in wp-content/themes folder.

    I did the same this time but even after copying the files. I dont see the theme listed in the installed themes page.

    Any suggestions?

Viewing 7 replies - 1 through 7 (of 7 total)
  • hello,

    after placing theme under themes folder setup permissions like
    755 Should be for all folders and 644 for all files.
    For more details

    hi quick question. so i had thought the problem was with the file permission but here is my doubt- how do i set file permissions FOR the wordpress site ?
    i am assuming when i do a chmod from my terminal, it would only be for the linux user profile i am in, right?

    can you tell me the command which will change the user permission AND specify that its for the wordpress site?

    yes, you can use the following commands in order:

    $ sudo -s OR $ sudo su
    $ sudo chmod 755 PATH/TO/THEME


    did that.
    still cant see the theme 😐

    oh wait. this is interesting.
    I can edit the code of my pre-installed themes NOW! after i ran the chmod command that is. Which means the permissions are all fine. maybe i should try installing a different theme :/

    got over the problem by manually copy pasting the theme in the folder

    good to know denny, while going through my answer I have noticed a mistake out of my ignorance,
    the terminal command I mentioned should be

    $ sudo chmod 755 -R PATH/TO/THEME

    -R will do it recursively.
    You can use it for your future reference, and I apologize for my mistake =)

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Unable to add new theme to website hosted on my ubuntu’ is closed to new replies.