ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Changing path of image upload from staging to live

November 10, 2010 12:15am

Subscribe [2]
  • #1 / Nov 10, 2010 12:15am

    inphantry

    12 posts

    Hi all,

    Currently I am using wygwam as my main content editor and am uploading images using that for the most part (there are places where i upload using EE2’s file field as well). I am migrating this site live soon and have been developing locally. I’m afraid I set up the upload path incorrectly initially (it use the system root instead of a relative path). How would I go about changing all existing references to the path. For example, currently if I check the source of an img tag in wygman, it shows this:

    /www/work/kevin-lee/fitwoman/images/uploads/reservenow.png

    Notice the absolute path form the root of my system. Obviously when it is live, it will start at images/uploads…

    I guess if there isn’t an easy fix, i can just make this path on the server ( www/work/....)

  • #2 / Nov 10, 2010 11:15am

    Sue Crocker

    26054 posts

    inphantry, I’d use one of the available find and replace plugins found at Devot-ee.com.

    Will that work for you?

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases