wpmhweb
Forum Replies Created
-
@jeherve thank you for the clarification.
@bcworkz thanks for the suggestions, but that solution is not going to work for now, I’m still not on Gutenberg, because I don’t like it and I have plugins that still don’t support the new editor so I can’t switch.
I’ve read that other minifying plugins are having a similar problem, and on a post, I found that excluding the backbone.min.js, underscore.min.js fix the problem. However, I’m using the manual option of W3TC and I’m not listing these js files, so does this means that they’re automatically excluded?
By the way, these are files that only load when an user is logged in, not when they’re logged out.
W3TC doesn’t have an option to minify js differently from logged in users, right? I mean aside from the disable minify option for logged in users.
- This reply was modified 4 years, 3 months ago by wpmhweb.
@csonnek Yes, I’m still having the problem, but since it’s a problem, right now, I’m using some direct links and css for share buttons. Since, it’s a problem, and most traffic comes during weekdays, I can’t rollback the changes to troubleshoot.
Any suggestions on how to resolve the issue?
Thanks,- This reply was modified 4 years, 3 months ago by wpmhweb.
Got it, thanks.
Thanks for the replied, one of the changes i’m making is a new pure CSS responsive menu for the site, so I guess I don’t need this navigation.js file?
Forum: Plugins
In reply to: [W3 Total Cache] How to fix JS minify problem with W3TC?Thanks, I didn’t realized that, I thought the plugin will at least make it defer or async. I’ll try to change the design to remove the file, what would it happen if I download the jquery.min.js and host it on the web server, will this make any difference? Is it OK to host js files like the one here in question on the web server?
Thanks again.
Thank you for the clarification.
Apparently, I used it in the past, and I had the remove code in the theme. So, after I added the code to show them manually, it worked.
@lizkarkoski the website is pureinfotech.com
Thanks,
- This reply was modified 4 years, 6 months ago by wpmhweb.
@cageehv unrelated, related question. Is it safe to do database maintenance when the site is live? Or there’s a standard process that is usually used like taking down the site momentarily or something else?
Thanks,
@cageehv thanks for clarification.
And yes, that what I usually do, I clear one item at a time, but this time the orphans had close to 60K items, and it was taking a long time.
@bcworkz Update: I’m still in the process of confirming this, but it would appear that the WordPress importer needs a better explanation so people can understand what’s going going. Also, a better approach to do this would be ideal.
It appears that when you check the “Download and import attachments” option during the import, WordPress actually connects with live site and downloads the images again without checking the Uploads folder content. So, because I originally restored the images from backup, WP was re-downloading the images again causing the images to renamed with additional numbers and dashes.
I think this is not a well thought out approach. If the images already exists, the importer should only update the records so the images appear in Media library and Upload experience.
If I don’t clear the “Download and import attachments” option, all the import will fail.
Solution, appears to be to clear the uploads folder, and let the import download the images again which takes hours. I’m still running this test, so I don’t know if it works 100 percent.
@bcworkz Update: Either WordPress or I is doing something wrong. I checked the Uploads folder, and I found that WordPress is creating a copy of each image during import. So, now in a given month of image, I have three copies, the original, one that ends of -1.jpg and third image that ends with -2.jpg. That’s why now wordpress appended the -2-2.jpg in the images link inside posts. Why?
This is what I did, created a new wordpress server, restored the images from backup to the Uploads folder, imported an xml with the Posts content, and then I imported the xml with the Media content.
@bcworkz I’ll take what I said in the last response back.
I exported the Media option, and the I opened the xml with an coded editor, and no problem were found in the links.However, when I imported the xml with the media elements in the destination site, the import now appended the “-2-2” at the end of the name of the image file. for example: this-is-image-2-2.jpg.
I looked into the the uploads folder and I found the xml file that wordpress used to import the content, and downloaded and I checked it no anomalies were found in the file.
As suggested, I disabled all the plugins and switched to the twentytwenty theme to export the media option from the export import settings in WordPress. In the destination site, I also made sure to disable all the plugin and I didn’t activate any theme.