✅WORDPRESS OPTIMIZATION GUIDE! FROM 3 TO 1 SECOND LOAD-TIME❗❗

Hey,
That's a great share, i did all steps and improved alot my website speed.
Then i tried to do "cookie-free domain" and now i'm getting "HTTP ERROR 500" on this website. Do you know anything about this?

Thanks!
 
Hey,
That's a great share, i did all steps and improved alot my website speed.
Then i tried to do "cookie-free domain" and now i'm getting "HTTP ERROR 500" on this website. Do you know anything about this?

Thanks!
You did something wrong... And with no error log, or screenshot of your cloudflare, or what you input in the wp-config and the SQL you run I cant really help you
 
- Prevent Contact Form 7 from loading on every page.

I don't know why is this, but it happens a lot and what's weird it's not on every WP installations. 3 of 5 of my websites have this issue. This is a pretty simple one.

1. Go to functions.php (public_html/wp-includes)
2. Add the following code on the bottom.
PHP:
// Remove contact form 7
add_filter( 'wpcf7_load_js', '__return_false' );
add_filter( 'wpcf7_load_css', '__return_false' );
add_action('wp_enqueue_scripts', 'load_wpcf7_scripts');
function load_wpcf7_scripts() {
  if ( is_page('contact') ) {
    if ( function_exists( 'wpcf7_enqueue_scripts' ) ) {
      wpcf7_enqueue_scripts();
    }
    if ( function_exists( 'wpcf7_enqueue_styles' ) ) {
      wpcf7_enqueue_styles();
    }
  }
}
If you have CF7 on multiple pages, change " if ( is_page('contact') ) {" to "if ( is_page('contact|page1|page2|page3') ) {"

If you don't want to go into technical stuff and you are using a lot of plugins then use Asset Clean up plugin. With that, you can remove some plugins from specific pages from WP dashboard.
My 2 cents.
Great guide buddy!;)
 
Nice post..i have one question .
When i scan my website on gtmetrix it says "too many redirects"
How can i solve that
Thanks
 
Nice post..i have one question .
When i scan my website on gtmetrix it says "too many redirects"
How can i solve that
Thanks
U did everything what i posted?
If yes, its something you fucked up.
If no, check the source of the problem and try to resolve it or just pm me with your site
 
U did everything what i posted?
If yes, its something you fucked up.
If no, check the source of the problem and try to resolve it or just pm me with your site
No i didn't make changes to site.but too many redirects is the only red thing in my report.is there any plugins to that.
 
No i didn't make changes to site.but too many redirects is the only red thing in my report.is there any plugins to that.
Nobody can help you if you dont provide the url of your website.

based on what you saying the only solution i can give is change your index.php in to an empty index.html
 
This was somethings great. Loading the wordpress website from 3.3 sec to 1.1 second was something very interesting.
 
Seems nice!
Have you thought about making a Wordpress Optimization Service?
I think you would have success with your knowledge.
 
Seems nice!
Have you thought about making a Wordpress Optimization Service?
I think you would have success with your knowledge.
No, but if someone is lazy to do the guide, a door is always open.
 
Great guide, very easy to do - and it does provide results... I did a lot of at the end of April, shame your guide wasn't done then - would had saved me a few days of work and research! One thing I couldn't fathom out is with Google Speed Insights -- the warning with unused CSS appears on mobile. Any ideas on locating and rectifying this issue?
 
Great guide, very easy to do - and it does provide results... I did a lot of at the end of April, shame your guide wasn't done then - would had saved me a few days of work and research! One thing I couldn't fathom out is with Google Speed Insights -- the warning with unused CSS appears on mobile. Any ideas on locating and rectifying this issue?
Drop me a PM with your link, ill take a look. But 99% of the time is bad theme (unoptimized css which i cant really help you with)
 
Back
Top