##header_keyword #

 


I use header_keywords as “meta keywords” for SearchEng, while tags are more powerful, more convenient, more visible.

Paradox: Somehow, the tanbinvest blog has more tags (140+) than the open blog but I don’t feel a real pain or j4 converting some of them to header_keywords. Why? I guess I use tagging less in tanbinvest. Leverage [cost/benefit ratio] isn’t so high.

🙂 Note WPAPP can use “k_bed Bug_wisdom” to search k_bedBug_wisdom bposts

— j4 header_keywords .. btw Rare and Unique words such as “1169” don’t need to become header_keywords. We can simply search for them on WPAPP 🙂

  1. Problems with tags: …. Too many tags crowd out the important tags on a heavily-tagged bpost with 6 or even 8 tags. Most of the 6 are marginally relevant, because the bpost is mostly about the other 2 tags. After 3 years, you won’t recognize which tags are really relevant to this bpost
  2. Another problem: Chinese in tags .. unsupported.
  3. Another problem: long phrase in tags … clumbsy esp. on WPAPP
  4. minor problem: too many tags in a single blog slows down tag auto-suggest.

==== [s] requirement on header_keyword formation: unambiguous
short names can be ambiguous, misleading, double-meaning. They can also show up in another header_keyword [3]!
long names can be restrictive. Some parts of the long name can be misleading.

Header_keywords are usually unique [perhaps relying on wording and underscores]. They can be pretty lengthy :). A header_keyword phrase will use underscore as connector, but can also use camelCase. Avoid hythens and “^” … they break  sleection_by_double_click.

Q: camelCase vs phrase_connected_by_underscore .. preferrable?
A: Phrase_connected_by_underscore IS a real advantage to header_keyword over tags.
A: I now feel a standard phrase can use camelCase like … lifeChance, hotkey
A: I also feel a keyword using abbreviations can use camelCase like … selfEval, finHealth
A: I now feel camalCase and abbreviations can help shorten header_keywords near top of a page

==== requirement on header_keyword formation: stable
header_keywords need to be stable, perhaps based on established words and established or homegrown abbreviations. Should be correct English. Prefer well-known phrases in favor of homemade phrases like … money_safe, k_not_only_luck, k_X_PPD_China

~~ rename a header_keyword .. I need a plugin:( and I need the header_keyword to be highly distinctive, not part of another word[3]. See ##plugins #tip@Replace

[3] A short header_keyword (like “k_hacker”) could become part of another header_keyword, and complicates renaming process

~~ converting header_keywords to wpress tags  .. Two steps: It’s easy to 1) apply the new tag, but harder to 2) remove the old header_keyword
Sugg: keep all header_keywords near top of each bpost…. would make it easy to remove a given header_keyword from multiple bposts.

~~ A subset of the cross-blog header_keyword will look like k_X_zzz meaning “k_X_zzz is supposed to be permantly cross-blog.”   When a regular header_keyword upgrades to cross-blog or downgrades, I don’t have bandwidth to rename it by adding/removing _X_.

However, without the _X_, I may fail to know that I need to rename across blogs 🙁

Q: Perhaps it’s better to completely remove all _X_? No. Favor those stable ones.
Q: there are many T_xyz tags with small memberships. Can we convert a T_xyz in blog1 to header_keyword  but keep T_xyz in blog2?
%%A: I think that’s pragmatic though not ideal

==== drawbacks of header_keyword cf tag

  • #1 drawback: From the WPAPP, the tags are info-radiators. I’m often surprised to find out “Oh this bpost has tagAbc!” I often click on the tagAbc to see what other bposts have it. With header_keyword, I would need to open the bpost to see
  • .. Sugg: homemade info radiator .. add some of the key words to bpost titles
  • #2: renaming/removing a popular tag is much easier than a header_keyword
  • full listing .. of (100+) header_keywords is, unlike tags, difficult and challenging
  • auto-suggest .. supported on Tags not header_keywords

~~ unexpected but frequent drawback : two overlapp header_keywords.. I know from experience. Two (or more) wpress tags can become overlapping like a slow chemical reaction:) By and large, overlapp is more annoying with wpress tags on the WPAPP. Not so distracting or annoying if occuring with header_keywords.

Suppose tagAA, tagBB tagCC and tagDD are related and possibly overlapping. If they are wpress tags, I can go to any AA bpost, click on “tagAA”, easily locate my (valuable) confluence_bpost [tagged with AA/BB/CC/DD], and discover the confluence of AA/BB/CC/DD

Once you find a header_keyword in “overlapp” condition, you often need to rename it for disambiguation.

Sugg: If you suspect a header_keyword to be overlapp with others, then convert it to a tag Early.


— Some outdated tags can be converted to header_keywords. I prefer to convert those tags that are verbose, vague or too wide-ranging.

  • — #half-ranked by “birth”
  • T_finHealth^health -> k_financialHealth_v_health … yes
  • t_winUP
  • t_hotkey -> k_hotkey (one word)
  • t_j4slim
  • t_carefree (Posts ‹ btv-open — WordPress) -> k_carefree知足常乐easy_life
  • t_selfEval -> k_self_eval
  • t_selfTalk (12) category -> k_self_talk
  • T_lifeChance -> k_X_lifeChance
  • t_resilience (9) -> k_resilience .. yes
  • t_Tanko2rule -> k_Tanko_2_rules
  • t_bonus_zen -> k_bonus_self_coach or k_bonus_selfcare
  • .. k_bonus_stigma
  • .. t_bonus tag will be retained for “other bposts related to bonus”
  • t_starhub … no need to convert because these bposts don’t have too many tags

— notes on specific keywords, roughly sorted (_X_ ignored), at best effort

  • [o=risk of overlapp]
  • [s=highly specific, not abstract, not ambiguous, low risk of overlapp]
  • [o] k_all_green_dashboard
  • k_anger_mgmt
  • k_arthur_brooks
  • [s] k_bedBug_wisdom
  • k_CAD
  • k_X_car_dependency
  • k_career_leverage .. excludes the tech xx topics of high leverage
  • k_celebrate_every_small_good_news .. “lengthy” pilot
  • k_classify_objects
  • k_X_compliance
  • k_counsellor
  • k_ctbz
  • k_daily_battle
  • [o] k_detach
  • k_def_of_success
  • k_disk_hog … storage optimization
  • [s] k_divorce
  • k_ETF_assetClass
  • [s] k_X_FOMO_v_livelihood
  • k_X_focusing_illusion
  • [s] k_gCloud … more generic than gDrive
  • k_hongkong
  • [s] k_Kahneman
  • k_my_kindness
  • [o] k_mellow
  • k_miswanting_blindFOMO .. perhaps convert to tag but I converted to k_* to avoid overloading on some overtagged posts
  • k_my_adapted_jargon .. adapted from standard jargon. See https://btv-open.dreamhosters.com/wp-admin/post.php?post=8210&action=edit
  • k_not_only_luck ….. luck vs effort
  • [s] k_office_sanctuary
  • [s] k_passwd
  • [o] k_penalty_on_kids
  • k_X_power_descriptor
  • [s] k_X_PPD_China ..
  • k_Promethean_struggle .. no longer close2heart
  • [o] k_quietime
  • k_rmSelf_vs_xpSelf
  • [s] k_short_term_mem_challenge
  • k_soul_search
  • [o] k_therapeutic_reflective_blogg
  • k_tyrant_of_rmSelf
  • k_UGC -> k_User_generated_content?
  • k_X_upkeep
  • k_wechat .. first aid and survival tips about wechat
  • k_X_细水长流 as a first Chinese header_keyword
  • — proposed
  • k_rikigai_via_nonprofits

carve out domain-specific blogs

For about 3 years (no need to be precise) I have maintained the separation of three main blogs [tanbinvest / gz / open]. (vocab blog is distinct and “out of scope”.) There are pros and cons of care-out.

— carve out .. a blog on wellness?

  • 👍 tag (and category) universe tend to be leaner, smaller
  • 👍 “most recent bposts” on WPAPP .. are less crowded. I like to keep this special info_radiator lightly used.
  • 👍 search results on WPAPP are more relevant. TheBpostIWasLookingFor is more likely in the top 20.
  • 🙁 more than 10, possibly 30+ bposts would have ambiguous content… hard to pick a blog
  • 🙁 some tags and header_keywords “want” to be cross-blog
  • 🙁 must search on more WPAPP when (rarely) the needle is “ambiguous”, but most needles clearly belong to one blog

— merger

  • 👍 migrating to another wpch would be easier if I have fewer blogs
  • 👍 wpress customization would be easier if I have fewer blogs
  • xp: wise decision to merge the “less polished” blog into the recrec blog.

safe blogg]ff #mirror

 


k_all_green_dashboard

“safe blogg” means readonly blogg in office without breach. No posting. Mostly printing.

Some level of “inconvenience” is common, frequent and almost unavoidable. Serenity! Be adaptable, not perfectionist. ( Analog: BigBrother all-green is something rare and temporary. )

Reality — at home I have multiple laptops and printer for blogg -> Bloblo may nudge me to spend more time at home. Could be a positive change in the long run.

— twister sms to accept the company policy gracefully. I need effective self-talk, just as my needs it.

  • I am a flexible and adaptable employee. I can recover from company restrictions and find solutions, and get use to the new normal.
  • info sec team is paid to protect the firm infrastructure. Company infrastructure is crucial and can bring down the entire company.
  • .. Company Policy — If any site (not only personal blogs) poses a threat to firm computer network, InfoSec will block it, without exception. The blocking is irreversible. For any unblocked blog, you need to ensure it doesn’t “upgrade” to an unsafe version.
  • I do appreciate the company wifi as an alternative. I was able to appeal to the info-sec team lead and get a fair hearing. I am always an appreciative employee.
  • many past employers are more restrictive. I remember GS. In Qz team, even stackoverflow is blocked. I was reminded that some civil servants don’t have internet access at all.
  • To my surprise, I have adapted well to the “print2pdf -> mass-mail to office -> wait 20m -> print out”. However, the home printers remain a valuable /fallback/

— mirror to ease printing in office
Opiton 1: no change. USD 13/M
Option 2: get free domain name, then migrate (legwork) one of my 3 blogs to new domain name.

Option 2a: set up tmpMirror123.dreamhosters.com.
Benefit…. printing from office

option 2b: change hosting provider (legwork) if mirror confirmed.
Additional benefit…. save on hosting fee

Main t$cost is legwork. I am in no hurry, but I may lose motivation during the long journey. If I worry about the disappointment and frustration, then maybe choose Option 1.

A second t$cost is domain registration cost… about USD 20/Y. Quite small compared to hosting fee, but it is still a headache.

Once I set up a mirror, it represents a hazard. Now I feel Option 2a (or 2b) is low value high risk high effort.

 

wpress DB backup: mysqldump^phpMyAdmin

The mysql backup procedure is standard. Same procedure in wpress or another CMS.

https://help.dreamhost.com/hc/en-us/articles/215039758 is the article I followed.

In all cases, the artifact is a *.sql file of megabytes. It takes a second to generate this file

You need to save (notepad) your db hostname, db name, login credentials. Not hard.

— ssh/mysqldump is crude. I like this method because it gave me access to the linux host, and builds my confidence.

— phpMyAdmin is convenient.

  • artifacts downloads to browser
  • the data transfer can take a minute for a 20MB file
  • phpMyAdmin is fairly standard and stable, available in most web hosts.

 

wpress print customizations #theme->content-single.php

[1] mentioned in https://www.wpkube.com/make-your-website-printer-friendly-wordpress/ which compares 5 choices

— print-selection is a workaround
— to see any change, you must disable caching !
— to remove prev/next links.. use AdditionalCSS
https://wordpress.org/support/topic/remove-previous-and-next-post-links-at-bottom-of-posts-theme-synchronization/

— to remove footer.. use RemoveFooterCredit plugin

How to Remove “Powered by WordPress”

— theme customization lets you remove the archives, categories etc
comment box can be removed , via ‘settings-}Discussion’.

I guess the trick is “Automatically close comments on posts older than [..1..] days”

This is the simplest solution, rather than the plugins !

— to include date in template file … follow https://www.wpbeginner.com/wp-tutorials/how-to-display-todays-date-in-wordpress/

ThemeFileEditor -> content-single.php (address like https://btv-gz.dreamhosters.com/wp-admin/theme-editor.php?file=content-single.php&theme=cols):
<?php cols_posted_on(); ?> rendered_on [ <?php echo date('D, j M Y ] H:i e'); ?>

wordpress template files

The “system” of template files is not too complex.

— single.php vs single-post.php

It’s good sense to build as simply as possible in your template structure and not make more templates unless you have real need for them. Therefore, most theme developers don’t create a single-post.php file because single.php is specific enough. For the most part, all themes should have a single.php.

— content.php vs content-single.php .. I read the top answer in https://wordpress.stackexchange.com/questions/239401/are-content-php-and-content-single-php-the-same

Most of the time in my case, the page I hit has “single” format, so content-single.php is used, instead of content.php. However, consider:

get_post_format() returns (for example) video. But you don’t have content-video.php template part file. The engine would “fall back” on content.php

personal_UGC [blog,gmail,,] #xp,tips

k_UGC,,, k_disk_hog

UGC was discussed in the Rolia bpost and other bposts, but here I’m boldly (no shame) expanding its scope to includes personal exchanges and personal notes.

Perhaps, system/solutions of UGC vs personal_UGC have overlaps?

j4 this bpost .. I spend 10h+/week on blogg + email. More than half the hours are using my personal archive.

incremental_update .. A G5 essential goal , although it sounds irrelevant to an archive system…  incremental_update across months, even years [see those w1r6 bposts]. This goal is highly relevant when I jot down “content” for planning, problem solving, analysis, self-help etc. Dozens of pieces to update in any week, disqualifying many “simple” systems like paper, smartphone, email drafts.

archive_search .. A G5 essential goal of personal or team’s archive (even a “national archive”). For me, gmail+MSOL, Jira, wiki are more relevant than blogs. Paper folders are suitable if they come in the letterbox. Common challenges include [archive_proliferation, outdated_content, x_ref,,,]

Terminology .. x_ref is a technical /challenge/, but not a “problem”.

==== 温故知新 .. including DRamRefresh is a G2 goal for my “system” . Finding long-forgotten pearls of insight. Common challenges include [x_ref, outdated_content,,]
I now rely more on blog tagging (a system adjustment ) for x_ref.
* A big tcost and real complexity is categorization. I have invested a lot in my category hierarchy.
* A challenge is … tag_proliferation. I have invested into header keywords as an innovative adjustment.

As a system adjustment to help the SEng[search engine], I allocate time to bpost title drafting and continuous adjustment. Search result only shows blog title!

A common challenge is … archive_proliferation i.e. “too many Drams to refresh”. My t_fuxi tag + sticky flag, and fuxi files in git blog are not very effective but still a worthwhile ongoing adjustment. Post-it and print-for-refresh are time-honored techniques.

nuts ##forgettable truths .. is an example of a tradeoff. After a few years, the valuable content (a “Dram”) deserves a welcome refresh but until then, we have to keep it as “outdated, low-value baggage”.

As I age, this goal and its challenges will grow. May become a #1 goal.

For devTill70 and career longevity, DRamRefresh would be crucial, as I use personal_UGC to record technical/localSys/past project content.

— a common challenge is … outdated_content. Most emails and bposts beyond 10Y prove irrelevant.
I now allocate some effort (adjustment) tagging them as outdated.

To reduce noisy search and to reduce storage footprint, I actively remove (adjustment) outdated content from blog and email archives.

In Rolia, only hand-picked conversations are preserved in 精华区 (system adjustment) for years, but a good post was often followed by low-quality comments 🙁

xp: dozens of bposts on diet/nutrition/BMI; dosens of bpost on parenting…


For these goals, A simple “write-n-archive” system without adjustments would soon prove primitive.

— xp: my recoll. Many purposes, including incremental_update and 温故知新. Stopped using it in my early 40s, because … (among other reasons) hard to access from outside home. “Title” space too limited 🙁 No version control

For localSys notes, I still rely on recoll.
— xp: I used blogger and free wpress for years. Limited tagging. Date editing too cumbersome.
— xp: wpress post comment and “updates” on page top .. are simple adjustment for incremental_update
— xp: wpch[wpress commercial hosting]  is my current system
GitBlogg “noblog” files .. as an adjustment and a archive, dramatically reduces my pain of creating/updating too many bposts, but at a small cost ! The noblog Dram doesn’t get enough refresh, but I can live with that.
— xp: English vocab and Driving blogs
DramRefresh is non-essential. Blogger, recoll,,, would probably sufice, though wpch offers additional benefits
— xp: personal email archive, esp. in my Gmail. I seldom use Gmail for active DramRefresh, because largely immutable, and archive_proliferation. I sometimes notice valuable /conversations/ in this 20Y worth of email “haystack”, thanks to the advanced SEng [search_engine]

To reduce noisy search and to reduce storage footprint, I invested in multiple adjustments to clean out worthless letters. Described in a separate bpost.

wechat/whatsapp messge personal archive is used by many individual users… poor cousin to email archive. Limited screen; no subject; limited history.For important data, better send email to myself.
— eg: A Goldman colleague shared his “team best practice” .. saving all email discussions in some /undisclosed/ knowledge archive, which proved effective for finding long-forgotten pearls of insight.  I see multiple imperfections

  • lots of the content are duplicated/repeated,
  • Some of the content is low quality, even incorrect/misleading
  • alternative spellings and (rare) misspelling would mess up the poor SEng

ExpertExchange and Quora suffered the same. Stackoverflow has many adjustments to reduce those pains. Those features are costly and complex.

A corporate wiki is better maintained but still lacks an effective SEng.

— innovative adjustment : /disposable/ blogging
* tcost: updating existing bpost .. obligation to find the _most_relevant_ bpost. After that, often need to integrate new content into existing.
* tcost: creating brand new bpost… obligation to choose category/tags and draft good title
* tcost: noisy wpress search /against/ increased haystack;
* tcost: overcrowded category/tags

When I have too much content in git-blog, a recommendation is … disposable blogg i.e. expressive, reflective, therapeutic writing in git-blog (or wpress), and later move content into those fuxi_*.txt files

Email with friends .. is an exemplification of such reflective writing and comparable to disposable blogg. “Thrown away” into gmail archive. better tcosts. Eg: in early 2024, I did such an reflective writing on “adaptable retirement”. These emails are kinda worth a dramRefersh once a while, but … Should they go into my blog as four-liners? Only a selected few.

Need to go through the fuxi_* files once a while or they would keep growing, but that’s a tradeoff.

Sugg: split fuxi_ files by subject

 

wpress revisionS n database footprint #wp-config.php

k_disk_hog

A typical guideline for a healthy WordPress database is to keep wp_posts table under 80MB. wp_posts is home of revisions.

For database size estimation, SiteHealth is more accurate than cPanel though WP-CLI is /authoritative/. SiteHealth shows many other components of a site’s footprint such as plugins, themes,,,

— revision history
Q: how to go in and edit wp-config.php?
A: I used the standard feature in cPanel. See https://help.dreamhost.com/hc/en-us/articles/360003490852-Using-the-website-file-manager-in-the-panel
A: You can also use ssh.

Q: what if I delete a post having many revisions? All purged?
AA: Yes, when you delete a post in WordPress, all revisions associated with that post are indeed erased from the database.

Q: for a 1000-word bpost, is each revision a delta or a (roughly) 1000-word snapshot?
%A: standard wpress feature keeps “rolling N revisions”, deleting earlier revisions without warning. If “delta” then this standard set-up would corrupt all revisions.
A (from dreamhost): deleting the earliest revision shouldn’t mess up the subsequent ones because each snapshot is independent of the others as far as I know.

To delete a specific revision (or a range), you must use a plugin like https://wordpress.org/plugins/simple-revisions-delete/

remove intervening

  • list1
  • aaa
  • list2
  • bb

The list is split into two lists

Suppose you use “Text” editor to remove the intervening </ul><ul>. The moment you switch back to “Visual” editor, WPress algorithm will detect the removal, and convert it to

    • list1
    • aaa
  • list2
  • bb

— The solution ..

  1. switch to the Text editor, copy the list source code to notepad, clean up slowly, while keeping the bpost intact.
  2. Once done, switch to Visual and remove the entire original list
  3. switch to Text to paste the list source code from notepad
  4. when you switch back to Visual, the WPress algorithm sees a brand new list and does nothing.

reveal wpress version; version freeze

— Method : any page -> top left corner -> WordPress logo -> hover for dropdown -> AboutWordPress -> click

Advantage: available on any page without log in

— Method: log in to admin page -> click on Dashboard -> atAGlance box

Advantage: fewer clicks

— To disable automatic minor upgrade

https://www.wpbeginner.com/wp-tutorials/how-to-disable-automatic-updates-in-wordpress/