- Jul 25, 2018
- 12,058
- 22,063
- 120
Now the CDN can be deactivate. But when activate, same issue as the previous version with some images with 0.0.0.0 url....v3.6.3
![]()
2.16 MB file on MEGA
mega.nz
In this version, they said that the CDN problem will be solved. there is no such thing.Now the CDN can be deactivate. But when activate, same issue as the previous version with some images with 0.0.0.0 url....
not working well, after update from 3.6.2 to 3.6.3, all images blcked ( seems that the link to images changed to http://0.0.0.0.0 .....please wait.
@NullMasternot working well, after update from 3.6.2 to 3.6.3, all images blcked ( seems that the link to images changed to http://0.0.0.0.0 .....
to solve it, i downgradeback to 3.6.2
I got a license. I will try soon.@NullMaster
I have checked and the same error, image not showing due to url https: //0.0.0.0 ...
* Usage (replace /wp-content/uploads/ with /media/ directory):
@NullMaster* Usage (replace /wp-content/uploads/ with /media/ directory):
*
* add_filter(
* 'smush_cdn_custom_uploads_dir',
* function( $uploads ) {
* $uploads['baseurl'] = 'https://example.com/media';
* return $uploads;
* }
* );
*/
if i understand @NullMaster , you need to change your upload folder :@NullMaster
Where can I put the above code? Is it put in functions.php?
Thanks to @TIKTIKif i understand @NullMaster , you need to change your upload folder :
1. move your uploads folder ( locate in> .. /wp-content/uploads/ ) to new locations under your main folder
( that it will be as : https://yourdomain.com/uploads )
2. rename uploads folder to media
3. add the snippet to your functions.php ( without the * )
* add_filter(
* 'smush_cdn_custom_uploads_dir',
* function( $uploads ) {
* $uploads['baseurl'] = 'https://example.com/media';
* return $uploads;
* }
* );
*/
@NullMaster kindly approve those steps