willjames
Forum Replies Created
-
Forum: Plugins
In reply to: [Autoptimize] Strange & Erratic CSS BehaviourI have turned off the CCSS and turned on the Rapidload system. At least this looks OK now, but I still have render-blocking css files (albeit small ones) downloading first.
I tried to simply past the critical CSS into the Eliminate render-blocking CSS? box in AO main tab. This had the same CLS errors as using the CCSS tab for the job.
I have tried using the Rapidload critical css but it errors as there is a bug in the theme css that I need them to fix (I won’t hold my breath though).
I can’t see any way through this except to stop using CCSS on this site. It is frustrating as t is almost identical to the https://www.plantpages.co.uk site that works perfectly with AO, CCSS and Rapidload set up (as this site did until recently)
Forum: Plugins
In reply to: [Autoptimize] Strange & Erratic CSS BehaviourSo, that works on the homepage to stop the oversizing of the titles. However, I think it is treating the symptoms rather than finding a cure, as all the other changes to the CSS still take place, (colours etc.). The CCSS is working, but it is being overridden by some AO css files as I can see no other css on the source code. The correct page appears thanks to CCSS, then it changes to the odd colours etc. then it changes back to the correct page. I am soooo confused!
Forum: Plugins
In reply to: [Autoptimize] Strange & Erratic CSS BehaviourThis is the broken site:
This is one that is working:
There is a difference in the script (the working one still has Rapidload running too so not sure if the difference relates to that?
Forum: Plugins
In reply to: [Autoptimize] Strange & Erratic CSS BehaviourThis seems to load first and that’s what we see I think?
Forum: Plugins
In reply to: [Autoptimize] Strange & Erratic CSS BehaviourYes, it does, but the page load still does something else first/after to override this. Not sure if the theme is trying to do something similar to CCSS?
Forum: Plugins
In reply to: [Autoptimize] Strange & Erratic CSS BehaviourHi, thanks for coming back. I had already added that to all rules. It is as though the CCSS is being ignored on initial load and something else is taking precedence (I am struggling to see what it can be even with the site throttled in dev tools). It is as though CCSS cannot do its job correctly?
Forum: Plugins
In reply to: [Autoptimize] Strange & Erratic CSS BehaviourI have done this – added to the homepage only. I have also put a fix in the css file that had an error in the font. So now at https://www.truckpages.co.uk/ using a ?intheurl and a hard refresh still shows a larger h1 font on initial load, as though something loads before the CCSS – I have looked at the CCSS and there is no large font in the css in it?
It seems to load three AO css files. With no CCSS running it works fine?
Forum: Plugins
In reply to: [Autoptimize] Strange & Erratic CSS BehaviourI have turned off rapidload & Critical css and everything works well. (apart from css is render blocking)
I turned on critical css and immediately the issue reappeared (large flash of font and change of color with cache busting ?random text in the URL.
Oddly I have a similar site with the same settings and this does not happen: https://www.plantpages.co.uk/ this uses AO, CCSS & Rapidload and we are not seeing the issues.
Forum: Plugins
In reply to: [Autoptimize] Strange & Erratic CSS BehaviourHi, This is still causing issues – the file https://www.truckpages.co.uk/wp-content/cache/rapidload/min-css/skin-custom-eeab046a1a6f.min.css is being processed by AO to give https://www.truckpages.co.uk/wp-content/cache/autoptimize/css/autoptimize_single_9cdbdc893780e3def645be4d73474c0a.css?ver=174 The first file passes the css validator but there is an error in the h4 and h5 in the AO file that is causing some issues?
Thanks
Forum: Plugins
In reply to: [Autoptimize] Strange & Erratic CSS BehaviourThe problem disappears when I clear the AO cache however?
- This reply was modified 1 year, 2 months ago by willjames.
Forum: Plugins
In reply to: [Autoptimize] Strange & Erratic CSS BehaviourIt appears to be downloading two different AO files for the CSS on the page with conflicting info on them? I don’t recall seeing this before? Google Pagespeed is picking up the CLS of 0.222 as a result
Forum: Plugins
In reply to: [Autoptimize] Strange & Erratic CSS BehaviourI always use inprivate and never logged in. It is most pages and first load. If you hard refresh browser it happens again, however…?
Forum: Plugins
In reply to: [Yoast SEO] Noindex, follow tag added to author Archives in error…Or delete yoast and move onto a different plugin. That plugin hasn’t changed, Yoast has. I spent time setting Yoast up and it was working. Now it is not. That’s a shame that I have to do it all over again with my sites with a different SEO plugin. Thank you for all your help!
Forum: Plugins
In reply to: [Yoast SEO] Noindex, follow tag added to author Archives in errorI am not using the redirection plugin for this but ‘Combo WP Rewrite Slugs‘ which is a rewrite instead of redirection. I am struggling why the earlier ones were included in the sitemap as /dealer/ and later ones not included. Something has changed with the Yoast plugin as the other plugin was not changed at this time?
Forum: Plugins
In reply to: [Yoast SEO] Noindex, follow tag added to author Archives in errorI have discovered a workaround for the noindex issue but still do not have an answer to the sitemap dealer-> author renaming issue.
I have added the following to the functions.php file:
//Removes the Yoast noindex on author pages and makes it index
add_filter( ‘wpseo_robots’, ‘yoast_seo_robots_remove_author’ );
function yoast_seo_robots_remove_author( $robots ) {
if ( is_author() ) {
return null;
}
}add_filter(‘wp_robots’, ‘my_wp_robots_directives’);
function my_wp_robots_directives( $robots ) {
if ( is_author() ) {
unset( $robots[‘max-image-preview’] );
unset( $robots[‘noindex’] );
$robots[‘index, follow’] = true;
return $robots;
}
}Any thoughts on the fix and regarding the sitemap issue?