Biranit
Forum Replies Created
-
Excellent, that works. Thank you so much!
Hi Donncha,
Thanks for your quick reply.
The .htaccess has this at the start:
BEGIN WPSuperCache <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / #If you serve pages from behind a proxy you may want to change 'RewriteCond %{HTTPS} on' to something more sensible
If I alter it to this:
BEGIN WPSuperCache <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTP_HOST} ^timesofisrael\.com$ [NC] RewriteRule ^(.*)$ https://www.timesofisrael.com/$1 [R=301,L] RewriteBase / #If you serve pages from behind a proxy you may want to change 'RewriteCond %{HTTPS} on' to something more sensible
Would it not be overwritten if/when super cache is upgraded or changed?
Alternatively, is there anywhere else I should put those lines?
Thanks a lot,
Bira
Marventus, Donncha:
Try going to https://timesofisrael.com now and you will see what I mean.
The way this works is:
if there is NO timesofisrael.com folder in wp-content/cache/supercache, then it is indeed redirected as normal to https://www.timesofisrael.com
However, if there is one, then the redirect stops working and the homepage version is the old one.
I do not know how and under what conditions the www-less cached version gets created.
I constantly delete the timesofisrael.com folder under wp-content/cache/supercache but right now I’m leaving it there so you can see it for yourself…
Thanks,
Bira
Forum: Plugins
In reply to: [WP Super Cache] [Plugin: WP Super Cache] After upgrade, preload stalls oftenOK, this are only getting worse and I am a little anxious.
Over the past 24 hours, I got 16 emails of “preload may have stalled/preload restarted”, and I noticed that it is having an effect on caching as a whole.I changed the setttings from “all” posts to 4650 – approx half the number we got – and sure enough, it removed all the already cached posts and started again! And I’m getting these emails all the time!
There is no problem of memory or load on the server, there are no errors spouted out. So what is going on?
Help please!
Forum: Plugins
In reply to: [WP Super Cache] [Plugin: WP Super Cache] After upgrade, preload stalls oftenI should add that this is a news website with fairly high traffic and a lot of content. There’s over 8,000 posts and I have preload set to “all” posts.
Under “content” it currently has:
Cache Contents
WP-Cache (24.74MB)
7 Cached Pages
1386 Expired PagesWP-Super-Cache (544.04MB)
5758 Cached Pages
0 Expired PagesAnd under preload it states:
Currently caching from post 3600 to 3700.
Page last cached: 3638 [some url]
Hi Daniel,
The second part – which you couldn’t confirm – has turned out to be due to me using remove_meta_box for slugdiv. It appears that slugdiv and the slug editor under the headline are tied to one another (there’s an open trac report on this at WordPress for a while now).
So this is not related to Edit Flow, I apologise.
The first part – which you did confirm – remains unresolved for me, and I’ll be happy if you could suggest a solution or fix it in your next edition.
Many thanks,
Bira
Forum: Fixing WordPress
In reply to: Finding out who trashed a pgeI am looking for the same answer, with a similar situation.
Hi Harry,
Many thanks for this snippet. I am going to add it and see how it goes.
Very much appreciate your assistance.
Best,
Bira
Still getting those errors. Any feedback?
Yep, that worked. Thank you ??
For the homepage I did:
prune_super_cache( get_supercache_dir() . ‘/index.html’ );
prune_super_cache( get_supercache_dir() . ‘/index.html.gz’ );I guess there’s no quicker/shorter way than that?
Forum: Plugins
In reply to: [Live Blogging] [Plugin: Live Blogging] a couple of bugs methinksCheers Chris ??
OK, I can confirm after a week of working with it, that the plugin works great with WP Super Cache ??
Got it now, many thanks.
By the way, I had a day of training today – was tutoring the editorial staff of a new website that I’ve been developing for a client. 23 editors and journalists. When I reached the live blogging feature and showed them how it works, there was a loud, audible gasp across the room. They were stunned at how beautiful and flawless it worked. I was very proud – and wanted you to know!
Thank you again.
Bira
Never mind, I found the answer.
For anyone else who may be confused, the answer is to add to your theme’s functions.php the following code (for each taxonomy you want supported):
if( function_exists('add_term_thumbnails_support') ) add_term_thumbnails_support ('the taxonomy name');
You’re great Chris. Thank you. Pleasure doing business with you ??