arrow_upward

Pages (2):
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help optimize the site for SEO
#1
Hello . I use my site to track my site load speed and review the information needed to optimize my website for better SEO. But I didn't notice (photo).

https://gtmetrix.com


the photo url (see pls) : https://imgur.com/a/fI6DHQp

qusetion : Make fewer HTTP requests

------------
If you have another site to optimize your website and see site information such as site load speed and other SEO information, please share the link for me here.
-----------
Thanks Post4VPS
#2
There are two types of fix:
1) if you are using CDN to get libraries such as JS scripts, CSS frameworks: just stop using CDN e start hosting your own copy on your storage. This applies also to media assets that you use without hosting them on your server.
2) Use less redirect. For the errors try the "callback" handling
Thanks to Post4VPS and Bladenodefor VPS 14
#3
(09-14-2019, 05:32 PM)hamed Wrote: Hello . I use my site to track my site load speed and review the information needed to optimize my website for better SEO. But I didn't notice (photo).

https://gtmetrix.com


the photo url (see pls) : https://imgur.com/a/fI6DHQp

qusetion : Make fewer HTTP requests

------------
If you have another site to optimize your website and see site information such as site load speed and other SEO information, please share the link for me here.
-----------

(09-14-2019, 10:43 PM)LightDestory Wrote: There are two types of fix:
1) if you are using CDN to get libraries such as JS scripts, CSS frameworks: just stop using CDN e start hosting your own copy on your storage. This applies also to media assets that you use without hosting them on your server.
2) Use less redirect. For the errors try the "callback" handling

CDN can make website faster and slower . depend on the case
it can make it faster if the hosting is extremely slow but it can make it slower if the hosting actually is much faster than the CDN . another benefit of CDN is less bandwidth on your hosting this is important for low bandwidth hosting user
Terminal
humanpuff69@FPAX:~$ Thanks To Shadow Hosting And Post4VPS for VPS 5
#4
(09-15-2019, 01:11 PM)humanpuff69 Wrote: CDN can make website faster and slower . depend on the case
it can make it faster if the hosting is extremely slow but it can make it slower if the hosting actually is much faster than the CDN . another benefit of CDN is less bandwidth on your hosting this is important for low bandwidth hosting user

I have given my opinion regarding the MAIN ISSUE that he reported us.
The main issue, as you can read, are the numbers of HTTP requests that his site makes on loading. HTTP requests on websites are commonly used to grab stuff from CDNs.

What you said it is true, but right now his problem are the HTTP requests. So I can suggest to minify the sources and use own hosting.
Thanks to Post4VPS and Bladenodefor VPS 14
#5
Fixing the too many HTTP requests issue is actually quite easy.

You have to find all resources that are loaded over a HTTP link and change it to HTTPS. If something is not loading after that the issue might be that the server from where the resource was loaded doesn't support HTTPs. In this case I recommend to host the script yourself on HTTPS or find a mirror with HTTPs. Most script and style CDNs actually all support HTTPs. Just the theme or plugin developers are absolutely lazy and don't bother with putting HTTPS links or simple //domain.extension/filename.extension links that automatically adjust to the protocol used on the parent site.

To find the resources you can either simply check the source code of your page or use the web browser development console. Furthermore maybe that testing site can even tell you what is loaded over HTTP. The issue is absolutely unrelated to whether CDNs should be used to host scripts or not. Only relation to CDN here is as said before if that CDN doesn't support HTTPS. In that case you either look for one that has HTTPs or really host it yourself on your HTTPS server.
[Image: zHHqO5Q.png]
#6
(09-14-2019, 10:43 PM)LightDestory Wrote: There are two types of fix:
1) if you are using CDN to get libraries such as JS scripts, CSS frameworks: just stop using CDN e start hosting your own copy on your storage. This applies also to media assets that you use without hosting them on your server.
2) Use less redirect. For the errors try the "callback" handling

Does this mean I can fix that error with these two solutions?

(09-15-2019, 02:22 PM)Hidden Refuge Wrote: Fixing the too many HTTP requests issue is actually quite easy.

You have to find all resources that are loaded over a HTTP link and change it to HTTPS. If something is not loading after that the issue might be that the server from where the resource was loaded doesn't support HTTPs. In this case I recommend to host the script yourself on HTTPS or find a mirror with HTTPs. Most script and style CDNs actually all support HTTPs. Just the theme or plugin developers are absolutely lazy and don't bother with putting HTTPS links or simple //domain.extension/filename.extension links that automatically adjust to the protocol used on the parent site.

To find the resources you can either simply check the source code of your page or use the web browser development console. Furthermore maybe that testing site can even tell you what is loaded over HTTP. The issue is absolutely unrelated to whether CDNs should be used to host scripts or not. Only relation to CDN here is as said before if that CDN doesn't support HTTPS. In that case you either look for one that has HTTPs or really host it yourself on your HTTPS server.
In fact, do u mean to change the links on my site to https and use the plugins to transfer users who are logged in via http to get them to https?

Thank you all . I just didn't get it right. Can I fix this problem if I use the plugin to transfer http to https?
Thanks Post4VPS
#7
Well, you should only be using HTTPS nowadays if you're caring about SEO so much and also about the website & data security and privacy of your users. Everything should be loaded via HTTPS including Javascript, CSS, images and every other resource. Don't use HTTP. TLS certificates even with wildcards are free nowadays with Let's Encrypt.

I don't only mean that you should use HTTPS on your site only and redirect all HTTP requests to HTTPS but you should fix all resources that are loading from HTTP. The test you showed said there are so many and so many of these and that files that are loaded over HTTP (14 javascript files and 8 stylesheets). You need to find the URLs of these resources and change their protocol to HTTPS. Most are pretty much linked in the theme and plugin files.

Also I would recommend to do what @LightDestory recommended. Combine things together or minify them in order to decrease the overall amount of requests on your page and the page size. This will improve the loading speed, performance and your SEO score.


Off the topic rant:
I don't really understand how people can use themes and plugins that are heavily bloated. I mean what the heck???? 14 javascripts and 8 stylesheets. What? What do you need? Usually you only need one stylesheet for the theme style and probably JQuery + custom Javascript for theme functions. This are 3 - 5 resources but NOT 22. And people also wonder about their site getting hacked... welcome Javascript cross injections with so many scripts that are maintained by who? People don't even realize that most themes or plugins hardcode URLs to ONLY certain version of Javascripts by using the version string... this means if that Javascript version has security issues... they're never fixed because no one changes the link to the next version with the fixed code.

That's one reason why I stopped using Wordpress and similar stuff. Nothing nowadays is made properly. Everyone wants/uses bloated and super fency stuff but no one pays attention to what this does to their site, security and data integrity.
[Image: zHHqO5Q.png]
#8
(09-15-2019, 05:50 PM)Hidden Refuge Wrote: Well, you should only be using HTTPS nowadays if you're caring about SEO so much and also about the website & data security and privacy of your users. Everything should be loaded via HTTPS including Javascript, CSS, images and every other resource. Don't use HTTP. TLS certificates even with wildcards are free nowadays with Let's Encrypt.

I don't only mean that you should use HTTPS on your site only and redirect all HTTP requests to HTTPS but you should fix all resources that are loading from HTTP. The test you showed said there are so many and so many of these and that files that are loaded over HTTP (14 javascript files and 8 stylesheets). You need to find the URLs of these resources and change their protocol to HTTPS. Most are pretty much linked in the theme and plugin files.

Also I would recommend to do what @LightDestory recommended. Combine things together or minify them in order to decrease the overall amount of requests on your page and the page size. This will improve the loading speed, performance and your SEO score.


Off the topic rant:
I don't really understand how people can use themes and plugins that are heavily bloated. I mean what the heck???? 14 javascripts and 8 stylesheets. What? What do you need? Usually you only need one stylesheet for the theme style and probably JQuery + custom Javascript for theme functions. This are 3 - 5 resources but NOT 22. And people also wonder about their site getting hacked... welcome Javascript cross injections with so many scripts that are maintained by who? People don't even realize that most themes or plugins hardcode URLs to ONLY certain version of Javascripts by using the version string... this means if that Javascript version has security issues... they're never fixed because no one changes the link to the next version with the fixed code.

That's one reason why I stopped using Wordpress and similar stuff. Nothing nowadays is made properly. Everyone wants/uses bloated and super fency stuff but no one pays attention to what this does to their site, security and data integrity.

Thanks for all the tips.
I have another question for you. Is ip dedicated to SEO effective? Or not . Im going to buy a dedicated ip for my hosts . In your opinion do I buy?
And please introduce a plugin for transferring http to https for WordPress.
Thanks Post4VPS
#9
@hamed You can use a plug-in called "Really Simple SSL" as it sets up the redirect in the touch of a button.

However, if you read my thread https://post4vps.com/Thread-Plugin-vs-htaccess I'd you to setup the redirect through editing the htaccess file method. This is bcoz of obvious reasons that you'll find in the thread itself. I've even given the code to be put in the file, so just copy and paste into your WP directory .htaccess file and replace with your domain name.

Personally, I'll suggest you to use the least amount of plugins with WP as you'd have to careful about your choice of plugins then.

Regards,
Sayan Bhattacharyya,

Heartiest thanks to Post4VPS and Virmach for my wonderful VPS 9!
#10
(09-22-2019, 12:46 PM)sohamb03 Wrote: @hamed You can use a plug-in called "Really Simple SSL" as it sets up the redirect in the touch of a button.

However, if you read my thread https://post4vps.com/Thread-Plugin-vs-htaccess I'd you to setup the redirect through editing the htaccess file method. This is bcoz of obvious reasons that you'll find in the thread itself. I've even given the code to be put in the file, so just copy and paste into your WP directory .htaccess file and replace with your domain name.

Personally, I'll suggest you to use the least amount of plugins with WP as you'd have to careful about your choice of plugins then.

Regards,

This plugin occupies many hardware resources after visitors arrive.
Is there any other plugin that uses less hardware?
Thanks Post4VPS
Pages (2):


Possibly Related Threads…
Thread
Author
Replies
Views
Last Post
12,685
10-14-2021, 05:19 AM
Last Post: harry_v
10,737
04-17-2020, 06:39 PM
Last Post: hamed
19,958
07-30-2017, 04:33 PM
Last Post: xdude

person_pin_circle Users browsing this thread: 1 Guest(s)
Sponsors: VirMach - Host4Fun - CubeData - Evolution-Host - HostDare - Hyper Expert - Shadow Hosting - Bladenode - Hostlease - RackNerd - ReadyDedis - Limitless Hosting