WordPress.org

Ready to get started?Download WordPress

Forums

putting images just off the root directory (5 posts)

  1. swimflyfast
    Member
    Posted 1 year ago #

    Is there any reason why I should not put images that I use in a directory of public_html/directoryforimages/ and then reference them like <img src="/directoryforimages/image.jpg"> ?? It seems easier for me to track them

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    That will work if you remember to use the the full url for the image - eg http?/example.com/directoryforimages/image.jpg

  3. carrierawks
    Member
    Posted 1 year ago #

    There shouldn't be a problem with doing that as long as the folder is inside the folder where your WordPress files are. I've used this plugin: http://wordpress.org/extend/plugins/media-file-manager/ to create directories like what you are saying within my uploads folder. There are other plugins that can create subfolders.

  4. swimflyfast
    Member
    Posted 1 year ago #

    I use a similar directory on many sites the way I have it above without "http.... .com/". I have no troubles but I was wondering if Google bots don't mind. thanks.

  5. esmi
    Forum Moderator
    Posted 1 year ago #

    The search bots couldn't care less where your images are stored.

Topic Closed

This topic has been closed to new replies.

About this Topic