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 youHey,
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!
- 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.
If you have CF7 on multiple pages, change " if ( is_page('contact') ) {" to "if ( is_page('contact|page1|page2|page3') ) {"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(); } } }
U did everything what i posted?Nice post..i have one question .
When i scan my website on gtmetrix it says "too many redirects"
How can i solve that
Thanks
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.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
Oh lol, thats a typo on the thread. You dont need that in wp-configHey again mate,
This is the error that i'm getting on the file updating "wp-config.php"
http://prntscr.com/se49p5
Thanks!
Ill bring the snacks!I need to buy you a beer for this. A pack of beer.
Nobody can help you if you dont provide the url of your website.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, but if someone is lazy to do the guide, a door is always open.Seems nice!
Have you thought about making a Wordpress Optimization Service?
I think you would have success with your knowledge.
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)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?