[wp-hackers] redirecting wp-content/uploads
johnbillion+wp at gmail.com
Sat Sep 18 05:40:43 UTC 2010
On Sat, Sep 18, 2010 at 6:02 AM, David Morris <dvmorris at gmail.com> wrote:
> I have a WP 3.0.1 installation running multiple sites, and there are some
> really old blog posts that reference images in wp-content/uploads/, as
> opposed to wp-content/blogs.dir/. When those pages are loaded, apache throws
> Internal Redirect errors all over the place:
> [Fri Sep 17 13:11:50 2010] [error] [client 22.214.171.124] Request exceeded the
> limit of 10 internal redirects due to probable configuration error. Use
> 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel
> debug' to get a backtrace.
> Is there a quick and dirty way to get apache to stop throwing these errors,
> like an htaccess change. I'm not really worried about the images showing up,
> I just don't want to Redirection errors to fill up the error_log.
> Thanks for your help,
> Dave Morris
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
Your best bet would be to replace the occurrences of
"/wp-content/uploads/" in your database with the correct location.
That way you get your images back and you lose the problems with
Try the Search and Replace plugin:
More information about the wp-hackers