The MU forums have moved to WordPress.org

Change sub.blog.com/files/img.jpg to files.blog.com/img.jpg (2 posts)

  1. leisegang
    Member
    Posted 14 years ago #

    I want to change the files folder from
    standard wpmu sub.blog.com/files/img.jpg

    to files.blog.com/img.jpg or files.sub.blog.com/img.jpg

    how do i do this and i want to have all the files on its own server.

  2. leisegang
    Member
    Posted 14 years ago #

    so i changed wp-config.php

    define( 'WP_CONTENT_DIR', '/path/on/server/filer.domain.net' );
    define( 'WP_CONTENT_URL', 'http://filer.domain.net');

    when changing them no images are showing on my blogs.
    the files are uploaded and they are resized so they exist.

    what do i need to change in .htaccess or any other file?

    when checking with firebug i get a 500 error on the image. it is trying to get: http://domain.net/files/2010/04/image.png

    ---

    do i then have to set these?
    // Location of mu-plugins
    // define( 'WPMU_PLUGIN_DIR', '' );
    // define( 'WPMU_PLUGIN_URL', '' );
    // define( 'MUPLUGINDIR', 'wp-content/mu-plugins' );

    or will they find themselves?

About this Topic

  • Started 14 years ago by leisegang
  • Latest reply from leisegang