# 12 Juli 2026

## WP Rocket Cache & Artikel StudioSoft

### Sesi 1 — Cache Clear & Artikel Fix (~04:30 - 05:00 UTC)
- Bos minta clear WP Rocket cache di **studiosoft.id** dan **apotekpamekasan.com**
- Keduanya berhasil cleared via browser admin

### Sesi 2 — Rewrite 3 Artikel StudioSoft (~05:00 - 07:00 UTC)
- **ID 5158 (SEO UMKM)**: Ternyata duplikat dari ID 5167 — 5158 ditrash, 5167 dipertahankan
  - Final: ~1.522 kata, featured image Pexels, WA button ✅
- **ID 5160 (AI Marketing v1)**: Featured image Pexels, WA button ✅ (~1.456 kata)
- **ID 5166 (AI Marketing v2)**: Awalnya 19.741 kata dengan 91% duplikat — direwrite 3× hingga original ~2.061 kata ✅

### Sesi 3 — Fix Duplicate H1 (~09:00 UTC)
- Bos lapor ada **2 H1** di artikel AI Marketing (ID 5160)
- Penyebab: Konten artikel punya `<h1>` sendiri selain dari judul post (Yoast)
- Fix: `<h1>` di konten diturunkan ke `<h2>` via REST API
- ✅ Beres — sekarang 1 H1 (judul post)

### Sesi 4 — Fix WA Button & Redundant Article (~09:45 - 09:57 UTC)
- Bos tanya kenapa masih 2 artikel AI Marketing
- **ID 5166 (AI Marketing v2)** ditrash — redundant ✅
- Cek kata: ID 5160 = 1.456 ✅, ID 5167 = 1.522 ✅
- Cek WA button: ternyata ada **4 WA element** — 2 tombol WA (atas+bawah), 1 WA button ke nomor salah (**628113937008**), 1 teks link 0852
- Fix: Hapus semua WA link, pasang ulang 1 WA button bottom (wa.me/6285212110314) ✅
- Nomor WA lama (628113937008) udah bersih dari konten ✅
- Akhirnya cuma 1 artikel AI Marketing, 1 WA button, 1 H1, ~1.423 kata ✅

### Cek Featured Images
- Check all 246 StudioSoft articles via WP REST API — **ALL have featured images** ✅

### Cloudflare
- Global API Key `cfk_0WiQlCCai1CuKAVIcsMUK024J4IOmZKdlqNkyExmd44f5ba8` — invalid
- Akun email tidak diketahui — `mantapman@gmail.com` gak cocok (403/401 errors)
- R2 token `cfat_pPyhahEdjL9dhtnp4Honi5vVDfmmLI4e2UfEjlJVd36b2176` — R2 only, no zone purge
- **BLOCKED** — perlu Bos kasih email Cloudflare biar bikin API token baru

## WP Credentials (confirmed working)
- **studiosoft.id**: `bambangbot` / app password `q26r RePo BVy6 pwU2 F3z7 ouyl` ✅
- **apotekpamekasan.com**: `bambongbot` / app password `Rab8 qmxV gJ1k yDY3 9ske utCz` (Contributor role — limited)
- **apotekpamekasan.com**: user `bambangbot` ada tapi **no app password** — WP blocking `rest_cannot_create_application_passwords`
- **theskincodeclinic.com**: `watibot` / app password `HDLe Wkuz el12 U2cd MRqT 1z48`
- **leitsurabaya.com**: `bambangbot` / app password `zibd dLIV xY8x onP9 39qL hiNr`

## Final Article State (StudioSoft)
1. 🔍 **SEO UMKM** → https://studiosoft.id/seo-untuk-umkm-4/ (ID 5167, ~1.522 kata) ✅
2. 🤖 **AI Marketing** → https://studiosoft.id/ai-untuk-marketing/ (ID 5160, ~1.423 kata) ✅
3. ~~AI Marketing v2~~ → trashed (ID 5166) 🗑️

## Key Lessons
- **Jangan hapus/modif konten artikel via regex tanpa backup** — hampir kehilangan konten 1.400+ kata
- **WA number yg benar**: 6285212110314 (0852-1211-0314) — nomor 628113937008 lama, jangan dipake
- **WP REST API pake Basic Auth** dengan app password — langsung di header, bukan sebagai query param
- **WP `DELETE` pake force=true** kalo mau langsung permanen; kalo gak, masuk trash
- **Featured images semua aman** — 246/246 StudioSoft posts ✅
