WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] changed servers, now can't upload or edit (2 posts)

  1. jimmythet
    Member
    Posted 1 year ago #

    Hi - I setup WordPress with cPanel (not fantastico) at one host and it worked fine, then I moved the whole WHM to another host.

    Now, when logged in to wordpress as admin I'm unable to:
    a) Edit theme files
    b) Edit plugin files
    c) Upload media

    I have root access to the server and can manually change permissions to edit theme or plugin files, but I know that's not right.

    I have another wordpress install on the same server that works fine and there are no differences in the directory or file permissions.

    Just like the working installation in another account on the same server, my uploads folder (and the others) are set to 755 (where "mycpaneluser" is the account owner - same setup as always with cPanel):

    drwxr-xr-x 19 mycpaneluser mycpaneluser 4096 Feb 4 16:58 plugins/
    drwxr-xr-x 6 mycpaneluser mycpaneluser 4096 Feb 4 16:03 themes/
    drwxr-xr-x 2 mycpaneluser mycpaneluser 4096 Feb 4 16:58 upgrade/
    drwxr-xr-x 4 mycpaneluser mycpaneluser 4096 Feb 4 16:22 uploads/

    Any idea what's happening here?

    Thanks!

  2. jimmythet
    Member
    Posted 1 year ago #

    Figured this out. It was XSS security preventing admin edits because the site was in development at an IP address URL and not at the actual domain name of the site.

Topic Closed

This topic has been closed to new replies.

About this Topic