Opened 16 years ago
Closed 16 years ago
#10044 closed defect (bug) (invalid)
Gears error on a 301 redirect
Reported by: | archon810 | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.7.1 |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description
A quick error report. Recently I started using a CDN and mod_rewrote all image files to 301 redirect to the CDN host with this .htaccess rule in Wordpress root:
<IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{HTTP_USER_AGENT} SimpleCDN RewriteRule .* - [L] RewriteRule (.*\.(gif|jpe?g|png))$ http://cdn.beerpla.net.lg1x3.simplecdn.net/$1 [R=301,L] </IfModule>
I am now trying to enable Gears and it's failing on
Local storage status: Error: Download of 'http://beerpla.net/wp-admin/images/align-center.png' failed, status code 301.
This behavior is expected and Wordpress should just follow the redirect to cache the file. There's a chance it's a Gears issue that cannot be resolved with Wordpress, in which case I'll submit a bug report to them.
Change History (1)
Note: See
TracTickets for help on using
tickets.
Its a Gears issue, In that it doesnt like redirects.
My advice would be to disable CDN for the admin dir, since Gears will cache those images anyway.