WordPress.org

Ready to get started?Download WordPress

Forums

WordPress points to wrong directory (2 posts)

  1. vinayakgole
    Member
    Posted 5 years ago #

    Hi,
    I am an absolute newbie to WordPress. After a week's struggle,I was finally able to setup my blog:www.pda-phone-reviews.in.Since it was my first time with setting up a site,I decided to install wordpress in a separate folder. Once I was comfortable,I decided to move it to the folder "www" which is where the webhost says I should have my index.php.
    Now,everything is fine except, I can't insert images since it points to /home/user/public_html/wp-content/uploads instead of /www/wp-content/uploads.
    Similarly when I try to back up using wp-db-backup plugin, it again gives me a similar message which says:
    WARNING: Your backup directory is NOT writable!

    WARNING: Your backup directory does NOT exist, and we cannot create it.

    Using your FTP client, try to create the backup directory yourself: /home/user/public_html/wp-content/backup-1a866/

    Could you please advise, how I can point to the folder in www? Is it something to do with ABSPATH?

    Thanks in advance.

    Regards,
    Vinayak

  2. OnTheWebInAnHour
    Member
    Posted 5 years ago #

    You need to create the backup directory, and possibly change the permissions for the backup directory to something like 755 or 777. If you're using cPanel, start File Manger and create the directory named backup-1a866 in the wp-content directory as advised. It will probably work. If it doesn't, go into File Manager and click the 3 numbers next to that directory, then change to 755 or 777.

    I strongly recommend you use WP-DBManager, by the way. It also lets you restore from within WordPress, which no other plugin allows. The whole point of backing up is restoring in case of disaster, and most plugins require you learn phpmyadmin to do the restore.

Topic Closed

This topic has been closed to new replies.

About this Topic