Forums

htaccess issue? MU->WP3 upgrade, thumbnail paths not working (3 posts)

  1. indextwo
    Member
    Posted 1 year ago #

    Although this does problem does relate directly to the autoThumb plugin, I believe it's an .htaccess issue after the upgrade from WPMU to WP3, so any advice would be appreciated:

    A friend upgraded their WPMU site to WP3, and after a few hiccups everything seems to be working. There was initially an issue with older images in the gallery/media library not showing up, but after updating the .htaccess file to use the ms-files.php file (rather than the old blogs.php), that seems to have fixed it. This was the line in question:

    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]

    However now, autoThumb (which uses phpThumb), can't find any new files we're uploading after the upgrade. It gives a standard phpThumb error that looks like this:

    http://howshereallydoesit.com/podcast/wp-content/plugins/autothumb/image.php?src=/podcast/files/2010/08/michelewoodward.jpg&w=70&hash=45f617e99c7c77a90fa702d68ce1fd5b

    ...but the path and image it's referring to

  2. does
  3. exist:

    http://howshereallydoesit.com/podcast/files/2010/08/michelewoodward.jpg

    Obviously the directory /podcast/ doesn't really exist, but .htaccess rewrites the access to that path (which I think is actually /blogs/dir/4/), but obviously phpThumb isn't getting the memo.

    So is this something I can deal with in the .htaccess? Any help would be greatly appreciated.

  • Andrea_r
    team pirate
    Posted 1 year ago #

    No, it's the call to timthumb. :-/

  • It wouldn't matter.

    http://howshereallydoesit.com/podcast/files/2010/08/michelewoodward.jpg gets redirected via the .htaccess to the ms-files, which in turn points to blogs.dir, so it's already being passed through. And yeah, that's a little convoluted.

    This post may help you: http://wordpress.org/support/topic/i-wrote-a-tutorial-on-wordpress-mumultisite-and-timthumb-thoughts?replies=7

  • Topic Closed

    This topic has been closed to new replies.

    About this Topic

    Tags

    No tags yet.