Skip to content
Juzhax Technology
  • Linux
  • Mac
  • WordPress
  • Blog
  • PHP
  • Joke
  • CSS
  • HTML
  • MySQL
Search this site
  1. Home
  2. › Tag Archives: php

Tag Archives: php

How to Prevent HTML Entities from Leaking into JSON-LD

Posted byjuzhax·Published 2026-11-03·3 minutes read

Decode HTML entities into real Unicode text before JSON encoding WordPress schema, and escape each output only for its final context.

When Empty WordPress Archives Should Return 404

Posted byjuzhax·Published 2026-11-02·3 minutes read

Use 404 for missing generated archives and out-of-range pagination; keep deliberate empty states separate and verify the main request.

Why Regex Redirect Captures Need Explicit Substitution

Posted byjuzhax·Published 2026-11-02·3 minutes read

A regex can match a redirect source while leaving $1 untouched. Learn how custom PHP redirect handlers should perform capture substitution, validate destinations, and test the final response.

How to Replace a WordPress SEO Plugin Without Duplicate Metadata

Posted byjuzhax·Published 2026-11-02·3 minutes read

A practical, low-risk process for replacing a WordPress SEO plugin while preventing duplicate or missing metadata.

How to Trace a Slow PHP Request to the Actual SQL Query

Posted byjuzhax·Published 2026-11-01·3 minutes read

Learn how to correlate PHP-FPM access and slow logs with a database slow-query log to find the SQL behind a slow request.

How to Separate Laravel Configuration from Tenant Settings

Posted byjuzhax·Published 2026-10-29·3 minutes read

Use Laravel config for bootstrap values and a tenant-aware database settings layer for safe runtime overrides.

How to Roll Out Migrations Across Separate Tenant Databases

Posted byjuzhax·Published 2026-10-28·3 minutes read

A separate database per tenant improves isolation, but schema changes must be applied to every tenant deliberately and safely.

How to Show Related Content on Posts and Custom Post Types

Posted byjuzhax·Published 2026-10-28·3 minutes read

A safe WordPress related-content feature needs an explicit singular post-type check and a separate published-status filter for every linked item.

How to Add a PHP Enum Cast Without Breaking Existing Logic

Posted byjuzhax·Published 2026-10-27·3 minutes read

A safe pattern for adding Laravel enum casts: inspect the existing enum, update model consumers, and verify hydration and serialization.

Why Arabic Text Needs More Than an Arabic Font in Generated Images

Posted byjuzhax·Published 2026-10-27·3 minutes read

Arabic text in generated images needs both a compatible font and proper shaping and right-to-left handling. Here is how to diagnose and fix each layer.

Posts pagination

Page 1 Page 2 Page 3 Next›Page 1 of 3

Latest Posts

  • M
    MongoDB Transparent Huge Pages warning: when to enable or disable THP
  • M
    MongoDB won’t start on CentOS 6: diagnosing the terminate() called error
  • W
    Why Devices Behind an Unmanaged Switch May Be Missing from Your Dashboard
  • H
    How to Import Structured Markdown Without AI Conversion
  • H
    How to Prevent HTML Entities from Leaking into JSON-LD

Interesting Posts

  • H
    How to Fix Composer’s “Could Not Find a Version Matching Your Minimum-Stability” Error
  • Best 6 Terminal Shell Apps for iPhone (March 2025)
    Best 6 Terminal Shell Apps for iPhone (March 2025)
  • H
    How to Wrap Mixed CJK and English Text in Generated Images
  • Using 432 Hz or 528 Hz or 40Hz in Sound Therapy ?
    Using 432 Hz or 528 Hz or 40Hz in Sound Therapy ?

Archives

  • November 2026 (12)
  • October 2026 (26)
  • September 2026 (2)
  • August 2026 (16)
  • July 2026 (8)
  • February 2026 (1)
  • April 2025 (1)
  • March 2025 (3)
  • November 2024 (3)
  • September 2024 (1)
  • August 2024 (1)
  • July 2024 (1)
  • June 2024 (1)
  • January 2024 (1)
  • October 2023 (3)
  • July 2023 (1)
  • April 2023 (3)
  • July 2022 (2)
  • June 2022 (1)
  • May 2022 (3)
  • April 2022 (5)
  • October 2021 (1)
  • August 2021 (1)
  • March 2021 (2)
  • February 2021 (2)
  • November 2020 (4)
  • August 2020 (1)
  • May 2020 (10)
  • April 2020 (19)
  • February 2020 (2)
  • June 2019 (1)
  • May 2019 (1)
  • April 2019 (3)
  • March 2019 (2)
  • February 2019 (5)
  • April 2017 (1)
  • July 2016 (2)
  • May 2016 (4)
  • April 2016 (2)
  • March 2016 (4)
  • October 2015 (2)
  • September 2015 (2)
  • July 2015 (3)
  • June 2015 (2)
  • October 2014 (2)
  • September 2014 (4)
  • August 2014 (7)
  • June 2014 (1)
  • April 2014 (4)
  • March 2014 (1)
  • February 2014 (1)
  • January 2014 (3)
  • December 2013 (6)
  • November 2013 (9)
  • October 2013 (17)
  • February 2013 (1)

Engineering Philosophy

Thoughtfully engineered software, built to scale, maintained with care, and designed to be useful.

More Work from Us

  • Top Hashtags
  • Top Radio
  • Justin.my

Newsletter

Get the latest posts and updates straight to your inbox.

Connect With Me

  • Buy Me a Coffee
  • LinkedIn
  • X
  • Threads
  • Github
  • Facebook
  • Twitter
  • Youtube

Copyright © 2026 Juzhax Technology | Powered by Juzhax Technology

  • About Us
  • Privacy Policy
  • Disclaimer