Preslav Kenanov
Forum Replies Created
-
Hello @scaffoldusa,
The error messages you’re encountering indicate that the JavaScript library jQuery is not defined or loaded before other scripts that depend on it. You can try and resolve that with the help of the exclude filters we have created for this purpose and you can find out more information about them here.
Based on the logs alone, we cannot say what exactly should be excluded. If you need help with that, be sure to contact our Support Team via the appropriate channels if you are a SiteGround client.Kind Regards,
Preslav Kenanov
Hello @dleigh,
The issue you are describing appears to be quite specific to your website and its configuration. As such, for us to be able to help, it would be best if you get in touch directly with our support team if you are a SiteGround client. This will allow us to review your setup, replicate the issue and assist further.
As for the actual exclusion of images, classes, or post types from the Lazy Load functionality of the Speed Optimizer plugin, you can use the custom filters we have created for this purpose which you can find out here:
https://siteground.com/tutorials/wordpress/speed-optimizer/custom-filters/#Plugin_Compatibility
King Regards,
Preslav
Hello @mick-levin,
The Speed Optimizer indeed requires the
exec()
function to work properly. At the moment, there is no workaround for that, however, your feedback on the matter is appreciated and we will make sure to pass it to the developers of the plugin.In the meantime, as suggested in the forum thread you have mentioned, I can only suggest asking your hosting provider to enable the?
exec()
?function for your website.Kind Regards,
Preslav Kenanov
Hello @webesi,
Thank you for the provided feedback!
While it is true that there is no direct support for AVIF in the Speed Optimizer plugin, we are still evaluating the most appropriate implementation for such support and if it becomes available it will be announced in the future release notes.
Kind Regards,
PreslavForum: Plugins
In reply to: [Security Optimizer - The All-In-One Protection Plugin] Configure Login URLHello @yourbudweiser,
The reason for the error message you encounter is because you cannot use special characters for the Custom Login URL. That includes the dash (-) symbol, so it will not be possible to set the admin URL as “https://www.test.com/customurl-admin“. However, you should be able to easily set it to “https://www.test.com/customurladmin“, for example, or any other custom URL without any special characters.
If you need further assistance or the issue continues to persist, then please get in touch with our support team from your Help Desk if you are a SiteGround client and we will review the matter further.
Kind Regards,
PreslavHello @holistromania,
Based on the provided information, it appears that the issue is related to the setup of your application. We will be happy to take a closer look and see if there is anything we can help with on our end and if some of the settings of the Speed Optimizer plugin should be tweaked. For this process we will need to review your application in detail. As such, if you are a SiteGround client please get in touch with our team from your Client Area as per the instructions here:
https://eu.siteground.com/tutorials/getting-started/getting-help-from-our-support-team/
Regards,
Preslav KenanovHello @hassantafreshi,
With the current filters we have for cache management, it is not possible to exclude a page based on its ID. However, you can still disable the Dynamic Cache for a particular page with htaccess rules and more information about this is available here:
https://eu.siteground.com/kb/disable-dynamic-caching-website/#Exclude_a_single_page_from_the_cache
However, I do not believe that this is the solution you are looking for. As such, I can also suggest taking a look at the Plugin Compatibility paragraph in our article about the different cache management filters of the Speed Optimizer plugin here:
https://eu.siteground.com/tutorials/wordpress/speed-optimizer/custom-filters/#Plugin_Compatibility
You can use these filters to purge the cache for specific URLs of the website.
Kind Regards,
Preslav Kenanov
Hello @andrewnz,
In some cases, it is indeed possible for the “siteground-optimizer-assets” folder to grow large in size. This is usually caused by numerous minified and/or combined CSS/JS files. In most of the cases, this is caused by a functionality of a plugin or a theme setting that adds a timestamp to your CSS or Javascript files upon every visit to the website. As a result, a new cache file is generated every time someone accesses the website.
While disabling the combination and modification of CSS/JS files will indeed resolve the issue, you can actually exclude the functionality of your website responsible for this behavior from CSS minification. We have created custom filters that can help you achieve that and you can find out more about this in the articles below:
https://eu.siteground.com/tutorials/wordpress/speed-optimizer/custom-filters/
https://www.ads-software.com/support/topic/how-to-use-sg-optimizers-filters-procedure/
Without actually reviewing your website and its configuration in detail, we cannot definitively say if that is indeed true for your case. As such, if you would like us to take a second look at your website and provide you with more information about the scripts that should be excluded, I will ask you to once again get in touch with our team via the Help Desk in your Client Area.Kind Regards,
Preslav Kenanov
Hello @sarispi,
I tried to replicate the reported issue by installing the Kadence website builder in combination with the Security Optimizer plugin. However, setting a custom URL via the plugin’s settings worked as expected. This leads me to believe, that the issue seen in the provided video may be due to the overall setup of your website and all of its installed plugins and theme settings.
For us to be able to investigate this further, please reach out to our Support Team via the Help Desk in your SiteGround Client Area. This will allow us to thoroughly review your application and if the issue is indeed caused by the Security Optimizer plugin, we will make sure to notify the plugin developers about it.
Kind Regards,
Preslav Kenanov
Hello @terrim,
The “siteground-optimizer-assets” folder contains all the minified and combined JS/CSS scripts of your website. The actual scripts, however, are generated by your application. In other words, the issue at hand is not a direct result of the Speed Optimizer plugin, but the “frontend-inspector-2290.min.js” script which is generated by the Yoast SEO plugin.
What I can recommend is to make sure that you have the latest version of the Yoast plugin installed on your website. You may also try to re-install the plugin to ensure that all of the core files are in place and none of them are corrupted.
Since you have mentioned that the issue disappears when you disable the Speed Optimizer, you may try to exclude the affected script from JavaScript combination:
https://eu.siteground.com/tutorials/wordpress/speed-optimizer/frontend-optimization/#Combine_CSS_and_JS_files
However, it is likely that the underlying issue with the script will remain, so if updating/re-installing the Yoast plugin does not resolve the issue you may consider reaching out to the plugin’s vendors for more information.Kind Regards,
Preslav KenanovHello @andredane,
The 504 Gateway Timeout Error you have encountered indicates that the server could not complete the request sent by your browser in time and th. In this particular case, it appears that something is interfering with the Security Optimizer plugin and the requests sent by it are being blocked. As per the provided error message you have also encountered:
COULD NOT CONNECT TO THE WORDPRESS REST API: Either a security plugin, custom function, or rules in your .htaccess file is preventing the WordPress REST API from working properly. SiteGround Optimizer is using it to store its options and other functionalities so please make sure it works properly.
The issue is likely caused by a different security plugin or restrictive htaccess rules. If you have any other third-party plugins installed on your website, please try to temporarily disable them and see if that helps.
If that doesn’t resolve the issue, then the best course of action would be to get in touch with our support team if you are a SiteGround client. This will allow us to review your website in detail and pinpoint what exactly is interfering with the Security Optimizer’s functionalities.Best Regards,
Preslav KenanovHello @x1-bot,
Based on the provided information, it appears that something within the setup of your application is interfering with the functionalities of the Speed Optimizer plugin. The most common cause is usually another plugin, especially security plugins which could be blocking the requests sent by the Speed Optimizer. As such, I can suggest disabling any security plugins you may have installed on your website and test again.
I am afraid, that without reviewing your application there is not much else we can suggest, so if that doesn’t help, then the best course of action would be to get in touch with our support team if you are a SiteGround client and we will be happy to review this further and help resolve the issue.
Regards,
PreslavHello @sigi88,
If you are a SiteGround client you can deactivate all of your plugins directly from your Site Tools as per the instructions here:
https://eu.siteground.com/kb/disable-wordpress-plugins-site-tools/
This will help you regain access to the backend of your website. You may also get in touch directly with our team via our Help Desk and we will make sure to help you access the dashboard of your website.
And if you are using a different hosting provider, then you can disable the plugin(s) over SSH with WP-CLI or by simply renaming the “plugins” folder of you application via the File Manager tool or over FTP. Please, that these actions will temporarily break the layout of your website as all of the plugins will be deactivated, so once you gain access to the backend of your website, you should re-activate your plugins.
Kind Regards,
Preslav
Hello @sigi88,
Since you have mentioned version 6.5.3, I believe that you are referring to the version of your WordPress application and not the plugin. Please note, that the latest version of the Security Optimizer plugin is 1.4.13, so be sure that this is the version you are using.
If you are using the latest version of the plugin and the issue continues to persist, then there is likely another security plugin installed on your website. Certain plugins that change the administrative URL of WordPress applications (the “wp-admin” URL) can interfere with the 2FA of the Security Optimizer. As such, please make sure any other security plugins with similar functionalities are disabled.
If you are a SiteGround client and you need help debugging this further, please get in touch with our team our through our Help Desk and we will review your application in detail.
Kind Regards,
Preslav
Hello @mirkolofio,
The error you encounter indicates that you are trying to use the WP-CLI binary via cgi-fcgi (FastCGI PHP Processing). This error is related to the hosting environment and not the Speed Optimizer plugin. As such, in order to address this issue, it would be best to get in touch with your hosting provider and ask them for a way to change the PHP Handler from cgi-fcgi to php-cli in order to be able to use WP-CLI. After that you will be able to execute the WP-CLI commands associated with the Speed Optimizer plugin.Kind Regards,
Preslav