Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author RVOLA

    (@rvola)

    Hello smlaci
    You must still specify the same path of the directory in the first field.

    For example my file upload is: / website / wp-content / uploads

    In the first field, here is the path: “wp-content/uploads”
    In the second field: “http://sub.domain.com/

    Normally the field 2 + field 1 must give the url that points directly to your images. In my example: http://sub.domain.com/wp-content/uploads/

    Anyway, made tests, you will quickly find a way.

    Thread Starter Andrei Chira

    (@smlaci)

    Hello,

    Here’s how I’ve set it up.

    I have WP installed and running on http://www.domain.com and I want to load images from a subdomain.

    I create the subdomain img.domain.com and I copy image folders from /wp-content/uploads/ to /img/, which is the folder of the subdomain, right?

    Now I have a folder structure like public_html/img/2013/01/file_name.jpg and so on.

    The image is accesible via http://img.domain.com/2013/01/file_name.jpg.

    All is left to do is tell WP to load images from /img folder, instead of loading them from /wp-content/uploads folder, right?

    So, in the first field i put img and in the second field http://img.domain.com, right?

    I did this but images are still loading from wp-content/uploads.
    Only new uploaded images go the subdomain.

    So, how do I make the old images to load from the subdomain?

    Plugin Author RVOLA

    (@rvola)

    ok I understand the problem … You want to move the old pictures on the subdomain.

    This requires ca, get their hands dirty.
    1 / FTP the images move
    2 / update the GUID of the database
    3 / update posts_content for images

    This link explains the SQL operations:
    http://support.ecenica.com/wordpress/change-image-urls-wordpress/

    The plugin WP Original Path Media works only on the present and the future. It does not deal with old images.

    I hope you have the fortune in your work.

    Thread Starter Andrei Chira

    (@smlaci)

    Thank you, I understand now.

    Plugin Author RVOLA

    (@rvola)

    your welcome. Think noted the plugin if you wish 🙂

    Thread Starter Andrei Chira

    (@smlaci)

    Sure.

    here is the folders of my site
    files
    wp-admin
    wp-content
    wp-includes

    i want all my uploads to go into the files folder

    so in the path to upload folder do i place /files or do i place files

    how can i make may meaid file link like
    img.domin.com/user_name/media_file_no/file_name.jpg?e83a2c

    Thread Starter Andrei Chira

    (@smlaci)

    @reginald just files, no /.

    Plugin Author RVOLA

    (@rvola)

    @mezba016
    Hello
    The plugin does not work to change the folder tree wp-content/uploads / possilbiité with putting a subdomain.
    It does not work on naming your images and / or with the author’s name in the folder.

    Plugin Author RVOLA

    (@rvola)

    @ ReginaldTerrell

    files is a folder?
    whether the first field in this rule: files
    in the second http://domain.com

    not completing the field by slash

    Ok i am not sure what i did but…i copied(not moved,just to be sure)all my media to a subdomain and i changed the path from fields 1 and 2.And i was ready to run the sql queries to update the links(for my old media).But there is no reason to do this…all my old images are opening from the subdomain and not from the ‘wp-contents/upload’:)

    Thread Starter Andrei Chira

    (@smlaci)

    same here, i don’t know why but it doesn’t bother me.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘subdomain help’ is closed to new replies.