Error changing uploads directory

#1
My website has been in operation for a while. It changed the uploads directory from the beginning

add to wp-config.php
Code:
if ( !defined('ABSPATH') )
    define('ABSPATH', dirname(__FILE__) . '/');
    define( 'UPLOADS', 'images'.'/uploads' );
So all my photos look like this:
abc.com/images/uploads/demo.jpg
abc.com/images/uploads/demo.jpg.webp
Currently I cannot use the .webp format available for my website. Although I have enabled litespeed cache
I also can not implement "Image Optimization"
What can I do to use .webp format
Sorry for my English ignorance
thank you!
 

qtwrk

Well-Known Member
#2
Hi,

Currently I cannot use the .webp format available for my website. Although I have enabled litespeed cache
I also can not implement "Image Optimization"

When you say can not use , why not ? any error ?
 
#3
when I clicked, it only took 5-10 seconds and came back to the first screen
No error message will be displayed

And I think there may be errors from my directory uploads images
 

Attachments

qtwrk

Well-Known Member
#4
Could you please go to debug tab , enable advance debug log on following IPs , and your IP

Then try again , after you got that 5 - 10 seconds and come back to first screen , grab the log and attach here.
 
#5
This is what I scored
10/05/19 23:01:42.968 [116.110.24.40:52554 1 08o] ------GET HTTP/1.1 (HTTPS) /wp-admin/admin.php
10/05/19 23:01:42.968 [116.110.24.40:52554 1 08o] Query String: page=lscache-optimization&type=sync_data&LSCWP_CTRL=img_optm&LSCWP_NONCE=a01c6bb621
10/05/19 23:01:42.968 [116.110.24.40:52554 1 08o] HTTP_REFERER: https://dioutdoor.vn/wp-admin/admin.php?page=lscache-optimization&type=sync_data
10/05/19 23:01:42.968 [116.110.24.40:52554 1 08o] Cookie _lscache_vary: admin_bar:1;logged-in:1;role:99;role_exclude_cache:1
10/05/19 23:01:42.968 [116.110.24.40:52554 1 08o] LSCACHE_VARY_VALUE: +webp
10/05/19 23:01:43.155 [116.110.24.40:52554 1 08o] [Ctrl] X Cache_control -> private ( logged in user )
10/05/19 23:01:43.272 [116.110.24.40:52554 1 08o] [Router] get_uid: 1
10/05/19 23:01:43.272 [116.110.24.40:52554 1 08o] [Router] get_role: administrator
10/05/19 23:01:43.272 [116.110.24.40:52554 1 08o] [Core] ⛑️ bypass_optm: hit Role Excludes setting: administrator
10/05/19 23:01:43.273 [116.110.24.40:52554 1 08o] [Router] LSCWP_CTRL: img_optm
10/05/19 23:01:43.273 [116.110.24.40:52554 1 08o] [Router] LSCWP_CTRL verified: 'img_optm'
10/05/19 23:01:43.273 [116.110.24.40:52554 1 08o] [Router] parsed type: sync_data
10/05/19 23:01:43.280 [116.110.24.40:52554 1 08o] [IAPI] posting to : https://as.wp.api.litespeedtech.com/media_sync_data
10/05/19 23:01:53.282 [116.110.24.40:52554 1 08o] [IAPI] failed to post: cURL error 28: Connection timed out after 10000 milliseconds
10/05/19 23:01:53.283 [116.110.24.40:52554 1 08o] [Ctrl] 301 from https://dioutdoor.vn/wp-admin/admin.php
10/05/19 23:01:53.283 [116.110.24.40:52554 1 08o] [Ctrl] 301 to https://dioutdoor.vn/wp-admin/admin.php?page=lscache-optimization&type=sync_data
10/05/19 23:01:53.283 [116.110.24.40:52554 1 08o] [Ctrl] X Cache_control -> no Cache ( 301 to same url )
10/05/19 23:01:53.284 [116.110.24.40:52554 1 08o] [Ctrl] not cacheable before ctrl finalize
10/05/19 23:01:53.285 [116.110.24.40:52554 1 08o] X-LiteSpeed-Cache-Control: no-cache
10/05/19 23:01:53.285 [116.110.24.40:52554 1 08o] End response
 

qtwrk

Well-Known Member
#6
Hi,

[IAPI] failed to post: cURL error 28: Connection timed out after 10000 milliseconds


Could you please whitelist all image server IPs in firewall and try again ?
 
Top