• Resolved pearsey

    (@pearsey)


    Hi, been trying to active the Image optimisation, just get a blank light grey screen after toggling. Doesn’t turn on.

    Also Force HTTPS keeps failing.

    This is on a non SG hosted website, as the ones I have on there work like a dream.

    Is this a bug and waiting for an update as these SG plugins Optimiser and Security are quite new to wordpress websites, not on SG?

    Thanks guys

Viewing 15 replies - 1 through 15 (of 16 total)
  • Plugin Support Simeon Boev

    (@k3llanved)

    Hello,

    So far we haven’t received any feedback reports about issues with the Image Optimization process or not being able to force the HTTPS connection.

    Make sure that you do not block/limit/disable the WordPress cron job as the optimization process requires it to work as intended. Take a look if you have any defines in the wp-config.php file that set the website to work via HTTP:// as this will prevent the force HTTPS feature to work.

    Best Regards,
    Simeon Boev

    Thread Starter pearsey

    (@pearsey)

    checked all of that, all fine.

    its like the page doesn’t load properly after I toggle of dynamic cache, or media image compression… the page just goes light grey. all loads back after a refresh.

    Same goes for Force HTTPS.

    Plugin Support Simeon Boev

    (@k3llanved)

    It sounds like the plugin is not able to complete the requests. Could you provide a bit more information about the request/s that is generated once the image optimization/HTTPs enforcing features are enabled? The output of the script or any errors generated by the request will be of great help.

    Thread Starter pearsey

    (@pearsey)

    This is what happens and showing settings.

    https://share.getcloudapp.com/qGurYw16

    this is at the top of my .htaccess in relation to SG plugins

    # HTTPS forced by SG-Optimizer
    <IfModule mod_rewrite.c>
        RewriteEngine On
        
        RewriteCond %{HTTP:X-Forwarded-Proto} !https
        RewriteCond %{HTTPS} off
        RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
    </IfModule>
    # END HTTPS
    # SGS XMLRPC Disable Service
    <Files xmlrpc.php>
    	order deny,allow
    	deny from all
    </Files>
    # SGS XMLRPC Disable Service END
    # SGS XSS Header Service
    <IfModule mod_headers.c>
        # SGS XSS
         Header always set X-Content-Type-Options "nosniff"
         Header set X-XSS-Protection "1; mode=block"
        # SGS XSS END
    </IfModule>
    # SGS XSS Header Service END
    
    # SGS HSTS Header Service
        Header set Strict-Transport-Security "max-age=10886400; preload"
    # SGS HSTS Header Service END
    Plugin Support Simeon Boev

    (@k3llanved)

    Unfortunately, the screen recording is not accessible due to a view limit(This item has exceeded its view limit!). Could you provide the recording via an alternative provider/service?

    Thread Starter pearsey

    (@pearsey)

    Plugin Support Plamen M

    (@plamenm)

    Hello @pearsey ,

    Try:
    – renaming the local php.ini file, if you have one;
    – check the wp-config.php file if there are any rules that prevent writing to files:

    DISALLOW_FILE_EDIT

    or similar variables. Best, temporarily replace the wp-config.php with the default one for WprdPress (copying the database connection details in it, of course);
    – Preserve a backup of your database. Then disable all plugins in your site except for the two: SiteGround Optimizer and SiteGround Security, then test if the functions would get enabled properly. If they do, re-enable the other plugins one by one and test enabling the functions after each enabled plugin;

    Let us know if any of these steps helped.

    Regards,
    Plamen.M
    SiteGround Tech Support Team

    Thread Starter pearsey

    (@pearsey)

    so the forced HTTPS is working, checked the .htaccess file, but the plugin doesn’t recognise its toggled on from the dashboard.

    # HTTPS forced by SG-Optimizer
    <IfModule mod_rewrite.c>
        RewriteEngine On
        
        RewriteCond %{HTTP:X-Forwarded-Proto} !https
        RewriteCond %{HTTPS} off
        RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
    </IfModule>
    # END HTTPS

    SEE vid to confirm my findings. WP-config all clean and writable, checked with host.

    https://drive.google.com/drive/folders/1zzyL0Qh4RDOvNl6MufbHVkTJhb14vDL3?usp=sharing

    not sure why the image optimisation wont activate too. seems to be a similar related issue as that post a blank grey screen when selected too.

    Thread Starter pearsey

    (@pearsey)

    There are only 5 plugins on the site. Two are SG optimiser and security. Two theme plugins, contact form and a portfolio plugin. YOAST SEO plugin.

    Nothing complicated going on. Weird this has been so easy as my other sites hosted on Siteground.

    Plugin Support Delyan Delov

    (@delyandelov)

    Hello @pearsey,

    The issues you are experiencing seem to be caused by the host you are using. They most probably block the plugin’s requests somehow because we have not managed to replicate this behavior on our servers.

    Please contact their support so they can look into the issue as well.

    Best Regards,
    Delyan Delov

    Thread Starter pearsey

    (@pearsey)

    Really appreciate the time from you all.

    Is there anything clever I can say to TSO host which will help them identify the problem?

    Plugin Support Delyan Delov

    (@delyandelov)

    Nothing particularly, they should check if something is not blocking our plugin’s requests or preventing them from completing successfully.

    Regards,
    Delyan Delov

    Thread Starter pearsey

    (@pearsey)

    top man. thanks Delyan.

    Plugin Support Delyan Delov

    (@delyandelov)

    You are most welcome!

    I am now marking the topic as resolved but you can update it anytime if you need further assistance.

    Regards,
    Delyan Delov

    Thread Starter pearsey

    (@pearsey)

    My host having looked over my WordPress database, checked .htaccess and config permissions said this:

    I have checked the file permissions and everything is properly set. Unfortunately, the error message that you are getting doesn’t provide us with any information.

    Would you like us to manually enable GZIP compression and HTTPS?

    So I’m going in circles here. Your both saying it’s the other side.

    ?!?!?

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘SG plugins | Optimiser and Security’ is closed to new replies.