Hello,
My web server is under LiteSpeed and my optimization plugin is LiteSpeed Cache.
thank you,
Claude
PS: I can maybe minimize my JS script with https://www.websiteplanet.com/fr/webtools/jscssminifier/ and place it by saving the first one, in its location via FileZilla!
-
This reply was modified 4 years, 5 months ago by Claude Blet.
Hello,
Thank you for contacting Rank Math today.
1. To redirect your URLs you can edit the following code with your domain and add it to your .htaccess.
RewriteEngine On
RewriteCond %{HTTP_HOST} ^yoursite.com [NC]
RewriteRule ^(.*)$ https://yoursite.com/$1 [R=301,L]
2. A number of plugins can help you in CSS minification of your CSS files fro example WP Fastest cache and HummingBird.
3. Request are usually files you include in your page using the <link> tag. You can reduce this number of request in your page as they affect the loading speed of the page.
4. To reduce the size of your HTML document, you can edit should avoid empty spaces and unnecessary tags. Minification of your CSS or adding your CSS from an external file can also help.
Please note these are not actual errors, they are recommendations that may help improve your site.
​​​​​​
Hope that helps. If you have any further question(s), please let us know. Thank you.
Hello,
I have in my .htaccess file this code extract:
# BEGIN www to non www
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.blog.prenommer\.com [NC]
RewriteRule ^(.*)$ http://blog.prenommer.com/$1 [L,R=301]
<IfModule>
# END fix www to non www
Is it different from yours?
Thank you so much,
Claude
Hello,
I would change RewriteRule ^(.*)$ http://blog.prenommer.com/$1 [L,R=301]
to RewriteRule ^(.*)$ https://blog.prenommer.com/$1 [L,R=301]
since you probably want to use https and this way, you avoid another redirection (from HTTP to https).
Looking forward to help you.
Hello Alberto,
Thank you for your reply. I applied it but the response time of the site made me one more error. Since I reset http instead of https, the response time is under 0.2 seconds which is great.
Claude
Hello,
I managed with the help of the WP-Optimize extension to minify my HTML, JS and CSS files! Because initially, I didn’t do it via the LiteSpeed Cache plugin.
I thus achieved good scores! 93 / 100
I still have the following problem: [WWW Canonicalization] The www and non-www versions of your URL are not redirected to the same site. There I do not know how to do?
-
This reply was modified 4 years, 5 months ago by Claude Blet.
-
This reply was modified 4 years, 5 months ago by Claude Blet.
Hello,
We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WP logins in the designated Sensitive Data section.
It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:
https://wordpress.org/plugins/temporary-login-without-password/
You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):
https://wordpress.org/plugins/wp-security-audit-log/
We really look forward to helping you.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
Hello Alberto,
I modified the first message on this ticket and included your WP identifiers in the designated sensitive data section.
Thanks again for helping me,
Have a good day.
Best regards,
Claude
Hello,
We do not get access to your .htaccess with the WP logins.
Can you please include FTP logins too?
Alternatively, please ask your web host to add that redirect for the www
version of your website.
Hope that helps.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
Hello,
The redirect is placed correctly but it looks like you haven’t added a CNAME entry in your DNS for www.blog.domain.com
which means it is not getting resolved.
Please add that and then it will work fine.
Hello Uzair,
How should I fill the CNAME, am not too gifted!
There is the first area, named Hosts, the second, Pointed to.
What should I put in these two fields?
Thank you
Claude
Hello,
Please get in touch with DNS provider to help you with this.
If you have any further questions, please let us know. Thank you.
​​​​​​
Hello,
Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.
If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.
Thank you.