Forums

[resolved] Images: was working now not! (6 posts)

  1. jocelynaz
    Member
    Posted 3 years ago #

    Hello -- I just recently installed WP about 5 days ago (into a test directory to play around with it first). The installation went just fine and I had even posted two posts with images without any problems. I LOVED WP!

    Well, after deciding that I would use WP for my blog system, I changed the directory to my 'blog' directory. After I did that, now I cannot upload any images either via the uploader and thru FTP. I've reset the permissions and I still can't upload images.

    I appreciate any feedback on this! :) Thank you.

  2. jocelynaz
    Member
    Posted 3 years ago #

    YAY! It's all working now. Turns out my file upload path was not matching up. I used the code below and it's now working fine! :) I found this in the FAQ Forum Hot Topics page (DOCS) under Question #3.

    How do I change the file upload path?
    The default upload path can be changed by adding a line of code to your wp-config.php file.

    Just BEFORE the line that says require_once(ABSPATH.'wp-settings.php'); add this line:

    define('UPLOADS', 'wp-content/myimages');

    In the example above, this will result in uploads being placed in your wp-content/myimages/2006/01 folder. Note that 2006 is the current year, and 01 is the current month, in this case January. If the myimages directory does not exist it will be created as long as the parent folder wp-content is writeable.

  3. jocelynaz
    Member
    Posted 3 years ago #

    Oops! I forgot to mention that instead of using 'wp-content/myimages', I changed it to 'wp-content/uploads'

  4. rickand1
    Member
    Posted 3 years ago #

    This fix worked for me - THANK YOU!

  5. onelovelivity
    Member
    Posted 3 years ago #

    This worked wonders for me too! Thanks a million!!

  6. Lorna09
    Member
    Posted 3 years ago #

    Thank you for this. It worked like a charm.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags