My website is too slow to load and sometimes it does not open. any recommendations?

I have recently made account on infinityfree and installed SSL certificate and forced https redircetion over http on it and everything seemed fine but I am noticing that the website does not work most of the time when anyone tries to open it. chrome windows is just gray with the circle with the i icon next to the certificate details.
my website is https://www.eyasalhamwi.epizy.com
and username: [epiz_28470371]
I only have the 3 plugins (PageLayer(deactivated) , Elementor and a third plug) and 2 themes.
a friend of mine recommended a cache plugin like [W3 Total Cache] or [W3 Super Cache] would solve the problem, but I thought I could get some info or recommendations here first?
did I do a mistake when setting up my website and what plugins I should install that can boost my website?
Thanks in advance

Works fine for me; Try clearing your browser cache.

3 Likes

This is my problem. It opens normally some days, other days I can not surf the website it is just a gray window especially when I browse it from mobile phones or new computer devices or browsers.
I installed the WP Super Cache as you suggested and I am feeling the difference in loading speed. However google PageSpeed Insights gave me high score for PC version after adding the cache plugin where it gave only 67 for mobile version especially about redirecting . then how can we force using the https!!! .

How are you doing it now? I would recommend using .htaccess

And your website took less than 2 seconds to less for me. Could it possibly be your wifi or ISP? Try using cellular data or someone else wifi to test.

thanks for your replay.
first, I did it by following the FAQ suggestion on how to do it but the code snippet they provided was not doing the job well since it was not forcing the browsers that opened my website before using http to move to https so I searched the internet and used a new snippet that forced the https mode, here it is

RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE]
Header always set Content-Security-Policy "upgrade-insecure-requests;"

# BEGIN WordPress
# The directives (lines) between `BEGIN WordPress` and `END WordPress` are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress

but as you saw in the pic above google said I am having problems because of this redirecting.
However, I do agree with you that It became faster now after using WP Super Cache. so is it possible that all it needed was a plug-in to manage the cache process!!!. and since I am kinda noob when it comes to web development or management. please could you tell me what plugins I need to keep my website smooth besides this cache thing? and Can/should I activate the CDN (they mentioned it in this cache plugin that i should activate it) or it is not supported by infinityfree?

Well, I usually code my websites myself, and just started learning WP just for WooCommerance. I don’t really have any plugin recommendations besides the popular “Really Simple SSL” plugin.

As for the .htaccess code, I can’t say I’ve seen that one before, but it may work. If you have issues, the one below does work, I have tested it multiple times.

RewriteEngine on
RewriteCond %{HTTP:X-Forwarded-Proto} =http
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

Thanks!

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.