aaron843
Forum Replies Created
-
(subject should say form, not for)
Thanks but that didn’t help.
I’ve switched to WP Fastest Cache.
Median server response time is now 77 milliseconds, so I’m satisfied.
Forum: Plugins
In reply to: [Yoast SEO] Migrated from RankMath: no SEO scoreI’ve followed these steps, and the situation is the same. Any other ideas, other than simply opening and re-saving hundreds of posts?
Okay, found the answer! First function/ filter here:
- This reply was modified 1 year, 7 months ago by aaron843.
I have found a work-around, I am now using:
(is_user_logged_in() !== true)
To detect when someone is not logged in and display a particular widget. This works on my site.
Still broken. My login page says:
You are logged in
You are logged out
The show/hide logic is ignored. It seems to have no function.
Forum: Plugins
In reply to: [WooCommerce] Stubbornly 1-column on attribute archive pagesUpdate: This problem is happening only on a single archive page. All others work fine. I’m not sure what is different about this particular page.
Thanks! I ended up doing this in Cloudflare.
Forum: Reviews
In reply to: [Sortable Word Count Reloaded] Critical ErrorAnd for that you gave it 5 stars!
Update: Got it working on the front end. You have to override one more default behavior, here: https://support.rankmath.com/ticket/not-showing-meta-description/
Note: With this method, it will always show the full long description as the SEO snippet. Manually entering a custom snippet in Rank Math will no longer have any effect.
It’d be nice to see a walk-through of this in the Rank Math FAQ or something. When I was searching, I found this question a lot, but no single complete and up to date answer.
- This reply was modified 1 year, 9 months ago by aaron843.
Update: I got this sort of working.
- I had to change the code.
- Placing the code in rank-math.php creates the %wc_log_desc% short code but it did not work beyond that. I had to place the code in my child theme functions.php (at least for now)
Here is the code that worked for me:
function get_product_long_description() { $product_id = isset( $_GET['post'] ) ? $_GET['post'] : get_queried_object_id(); $content_post = get_post($product_id); $desc = $content_post->post_content; $desc = apply_filters('the_content', $desc); $desc = str_replace(']]>', ']]>', $desc); return $desc; }
Unfortunately, I still have to go to each product page, edit the snippet and enter %wc_log_desc%. For some reasons, doing on the Rank Math global SEO for product pages does not work, it still shows the short description.
Even changing the Default description for single Product pages to something like %title% does not change anything, is still displays the short description on each product.
Thanks I’ve tried a delay of 5 minutes. It seems there are still 5 or 6 processes that launch immediately. So I don’t know if it’s using the settings.
I set both wpo_page_cache_preload_continue_interval and wpoptimize_preload_delay to 300000000. This resulted in the creation of about 1.6 new cache files per minute over a period of 45 minutes. Server CPU loads are around 35%-70%. But I’m still getting warning emails that the CPU is hitting as much as 90% usage (normally it’s under 10% but hard to verify if this is all from cache building.)
I’ll continue to experiment to see what these values result in.
Thanks for that input. The issue indeed persists.
I used https://www.webfx.com/tools/http-status-tool/ to check that I’m indeed getting a 404 status code. (the tool you recommended gets blocked by my hosting firewall)
I’m happy to provide you with the URL of the site privately, if you’ll provide instruction for doing so.
A log of 404 errors does indeed exist in the database.
I also wonder if their might be clues in the code of Redirection?By John Godley, which does log all 404 errors. As I mentioned, I’m using this currently as my logging method.
Is that the complete code? I get the following error when I try what you wrote:
Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, no array or string given
- This reply was modified 1 year, 9 months ago by aaron843.
Does this still work? I tried setting it to 5 minutes, and CPU is still hitting 87%. I’m getting emailed warning from the server every few minutes.
add_filter( 'wpoptimize_preload_delay', function( $original_delay ) { return 300000000; // Delay in microseconds, 1000000 = 1s } );