server response increased when loading avatars after hosting images on subdomain
-
To allow browsers more requests, i created a subdomain, set the root on wp-content/uploads and told wordpress under settings ā> media the new full URL path. Now all images are served from the subdomain. Works fine.
Also buddypress user-avatars are now received from the subdomain, but all pages including more then 2-3 avatars, have an server response over 4 up to 20 seconds.
Error-log shows: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the limit if necessary.
I fixed that endless loop by adding
RewriteCond %{ENV:REDIRECT_STATUS} 200
RewriteRule ^ – [L]to .htaccess. But the issue is still there.
I also tried to change
$bp->avatar->upload_path = bp_core_avatar_upload_path();
$bp->avatar->url = bp_core_avatar_url();to
$bp->avatar->upload_path = ‘wp-content/uploads’;
$bp->avatar->url = ‘http://www.domain.de/wp-content/uploads’;in bp_core_avatars.php so buddypress will not use the subdomain. It works and avatars are served from wp-content/uploads-path but the server response is still the same.
Any ideas why this happens and how it could be fixed?
BP 1.6.1
WP 3.4.2
- The topic ‘server response increased when loading avatars after hosting images on subdomain’ is closed to new replies.