Skip to content
  • Home
  • About
  • No Access
  • Privacy Policy
Bits of .NET
Bits of .NET
  • Asp.Net Core
  • C#
  • SQL
  • JavaScript
  • CSS
  • About
  • ErcanOPAK.com
  • No Access
  • Privacy Policy

Bits of .NET

Daily micro-tips for C#, SQL, performance, and scalable backend engineering.

  • Asp.Net Core
  • C#
  • SQL
  • JavaScript
  • CSS
  • About
  • ErcanOPAK.com
  • No Access
  • Privacy Policy

Category: Wordpress

Wordpress

WordPress — wp_options Autoload Kills TTFB

- 30.12.25 - ErcanOPAK comment on WordPress — wp_options Autoload Kills TTFB

Autoloaded options load on every request. ✅ Fix Set unused options to autoload = no.

Read More
Wordpress

WordPress — Heartbeat API Triggers Admin CPU Spikes

- 29.12.25 - ErcanOPAK comment on WordPress — Heartbeat API Triggers Admin CPU Spikes

Runs every 15 seconds by default. ✅ Fix Throttle or disable outside editor pages.

Read More
Wordpress

The White Screen of Death Fix (WP_DEBUG)

- 29.12.25 - ErcanOPAK comment on The White Screen of Death Fix (WP_DEBUG)

The Problem: Your WordPress site is showing a blank white screen, and you have no idea which plugin caused it. The Fix: Open your wp-config.php file via FTP and change the debug settings to log the error to a file instead of crashing silently. define( ‘WP_DEBUG’, true ); define( ‘WP_DEBUG_LOG’, true ); define( ‘WP_DEBUG_DISPLAY’, false […]

Read More
Wordpress

WordPress — Revisions Table Can Explode Database Size

- 28.12.25 - ErcanOPAK comment on WordPress — Revisions Table Can Explode Database Size

Every save creates a revision. ✅ Fix Limit revisions in wp-config.php.

Read More
Wordpress

WordPress — REST API Enabled = Attack Surface

- 27.12.25 - ErcanOPAK comment on WordPress — REST API Enabled = Attack Surface

Many sites don’t need it. ✅ Fix Disable REST endpoints if unused. Result Better security Lower load

Read More
Wordpress

WordPress — Plugins Loading Everywhere Is the Real Killer

- 25.12.25 - ErcanOPAK comment on WordPress — Plugins Loading Everywhere Is the Real Killer

Most plugins load on every request. ✅ Fix Conditionally load assets only where needed. Result: massive TTFB improvement.

Read More
Wordpress

WordPress — wp_posts Without Indexes Is a Time Bomb

- 21.12.25 - ErcanOPAK comment on WordPress — wp_posts Without Indexes Is a Time Bomb

Large blogs suffer without proper indexes. Must-have (post_type, post_status) (post_date) Speeds up homepage and archives drastically.

Read More
Wordpress

WP-Cron Runs on User Requests (Not Real Cron)

- 19.12.25 - ErcanOPAK comment on WP-Cron Runs on User Requests (Not Real Cron)

Low traffic = delayed jobs. ✅ Fix Disable WP-Cron and use system cron instead.

Read More
Wordpress

WordPress Slow Even With Cache — Autoloaded Options

- 17.12.25 - ErcanOPAK comment on WordPress Slow Even With Cache — Autoloaded Options

Huge autoload rows load on every request. ✅ Fix Audit: SELECT * FROM wp_options WHERE autoload=’yes’; Disable unused entries.

Read More
Wordpress

WordPress Admin Slow — Heartbeat API Overload

- 16.12.25 - ErcanOPAK comment on WordPress Admin Slow — Heartbeat API Overload

Heartbeat runs every 15s. ✅ Fix Reduce frequency or disable on non-edit pages. Result Lower CPU Faster admin

Read More
Wordpress

WordPress REST API Slow — Disable Unused Endpoints

- 15.12.25 - ErcanOPAK comment on WordPress REST API Slow — Disable Unused Endpoints

Every REST route loads on init. ✅ Fix Disable what you don’t use via plugin or code: remove_action(‘rest_api_init’, ‘wp_oembed_register_route’); Result Lower memory usage and faster responses.

Read More
Wordpress

WordPress Slow First Load — Autoloaded Options Table

- 14.12.25 - ErcanOPAK comment on WordPress Slow First Load — Autoloaded Options Table

Run this: SELECT * FROM wp_options WHERE autoload = ‘yes’; Too many rows = slow site. ✅ Fix Disable autoload on unused options. This alone can cut TTFB in half.

Read More
Wordpress

WordPress Slow Admin Panel? Heartbeat API

- 13.12.25 - ErcanOPAK comment on WordPress Slow Admin Panel? Heartbeat API

WordPress sends frequent AJAX calls. ✅ Fix Install Heartbeat ControlReduce frequency or disable in admin. Result Faster editor Lower CPU usage

Read More
Wordpress

WP “Plugin Update Breaks Site” — The Rollback Life-Saver

- 12.12.25 - ErcanOPAK comment on WP “Plugin Update Breaks Site” — The Rollback Life-Saver

Use the plugin: 👉 WP Rollback Allows you to downgrade ANY plugin version instantly. 💡 Perfect for WooCommerce disasters Theme compatibility Checkout errors

Read More
PHP / Wordpress

WP “Menus Not Saving” — The Max Input Vars Killer

- 11.12.25 - ErcanOPAK comment on WP “Menus Not Saving” — The Max Input Vars Killer

Your menu refuses to save?You click save → NOTHING. ✔ Fix in php.ini: max_input_vars = 3000 Or WP-level: @ini_set( ‘max_input_vars’ , 3000 ); 💡 Why It Happens Large menus exceed PHP’s default 1000 variable limit.

Read More
Wordpress

WP “Permalinks Not Working” — The .htaccess Rewrite Reset

- 09.12.25 - ErcanOPAK comment on WP “Permalinks Not Working” — The .htaccess Rewrite Reset

Sometimes WP permalinks break silently. ✔ Fix Go to:Settings → Permalinks → Save (without changing) This regenerates .htaccess with: # BEGIN WordPress RewriteEngine On RewriteBase / RewriteRule ^index\.php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] # END WordPress Instant fix.

Read More
Wordpress

WordPress “Images Not Updating” — The Persistent Cache Trap

- 08.12.25 - ErcanOPAK comment on WordPress “Images Not Updating” — The Persistent Cache Trap

Even if you upload a new image, WP serves the cached thumbnail. ✔ Fix Delete old thumbnails: /wp-content/uploads/YYYY/MM/imagename-*x*.jpg Then regenerate thumbnails using plugin: ✨ Regenerate Thumbnails. Instant fix for “image not updating” issues.

Read More
Wordpress

WordPress “White Screen of Death” — The Real Fix Nobody Mentions

- 07.12.25 - ErcanOPAK comment on WordPress “White Screen of Death” — The Real Fix Nobody Mentions

The WSOD usually comes from PHP memory limit — not plugins. ✔ Fix Add to wp-config.php: define(‘WP_MEMORY_LIMIT’, ‘256M’); Default is often 40M → insufficent. 💡 Bonus Enable debug without exposing logs publicly: define(‘WP_DEBUG’, true); define(‘WP_DEBUG_LOG’, true); define(‘WP_DEBUG_DISPLAY’, false);  

Read More
Wordpress

Solution for “utf8mb4 requires a newer client library” error in WordPress

- 20.05.23 - ErcanOPAK comment on Solution for “utf8mb4 requires a newer client library” error in WordPress

While checking the WordPress ‘Site Health’ status page, you may see ‘utf8mb4 requires a newer client library‘ highlighted by that tool: This is an issue that only applies to cPanel hosting servers when they use the CloudLinux PHP Selector, which all of our shared servers are using. The fix however is pretty easy. First, login to […]

Read More
Wordpress

How to Auto Link Post Thumbnails to the Post Permalink in WordPress

- 29.09.21 - ErcanOPAK comment on How to Auto Link Post Thumbnails to the Post Permalink in WordPress

All you have to do is add this code to the end of your theme’s functions.php file: add_filter( ‘post_thumbnail_html’, ‘wps_post_thumbnail’, 10, 3 ); function wps_post_thumbnail( $html, $post_id, $post_image_id ) { $html = ‘<a href=”‘ . get_permalink( $post_id ) . ‘” title=”‘ . esc_attr( get_post_field( ‘post_title’, $post_id ) ) . ‘”>’ . $html . ‘</a>’; return […]

Read More
PHP / Wordpress

How to solve “PHP Update Required” warning on WordPress

- 14.09.19 | 22.11.19 - ErcanOPAK comment on How to solve “PHP Update Required” warning on WordPress

The WordPress open-source content management system (CMS) will show warnings in its backend admin panel if the site runs on top of an outdated PHP version. The short-term plan is to migrate as many active users to more recent versions of PHP as possible so that the WordPress team can drop support for older PHP […]

Read More
Wordpress

How to fix blank thumbnails in the WordPress Media Library

- 01.09.19 | 22.11.19 - ErcanOPAK comment on How to fix blank thumbnails in the WordPress Media Library

Mostly that problem is about the persmission for uploads folder of your wordpress website. So first, please check the permissions for your uploads folder. Start by navigating in your WordPress dashboard to Settings -> Media. Make sure that the option Organize my uploads into month- and year-based folders is checked. Next go into your Cpanel for your domain, […]

Read More
PHP / Wordpress

Disable REST API Plugin

- 21.04.19 | 22.11.19 - ErcanOPAK comment on Disable REST API Plugin

Disable the REST API with a Plugin: If you want to try a completely different solution you can try out https://wordpress.org/plugins/disable-json-api/ which takes care of removing the REST API functionlity for you. Disable the REST API without a Plugin: Maybe you don’t use any security plugins. While I recommend that you reconsider and install either WordFence or […]

Read More
Wordpress

How to send e-mail in HTML View with wp_mail()

- 18.01.19 | 22.11.19 - ErcanOPAK comment on How to send e-mail in HTML View with wp_mail()

$to = ‘a1@b.com, a2@b.com, a3@b.com’; $subject = ‘The Subject of your e-mail’; $message = ‘The Content of your e-mail’; $headers = array(‘Content-Type: text/html; charset=UTF-8’); wp_mail( $to, $subject, $message, $headers );

Read More
Wordpress

How to Disable Gutenberg & Return to the Classic WordPress Editor

- 16.01.19 | 22.11.19 - ErcanOPAK comment on How to Disable Gutenberg & Return to the Classic WordPress Editor

Classic Editor is an official plugin maintained by the WordPress team that restores the previous (“classic”) WordPress editor and the “Edit Post” screen. It makes it possible to use plugins that extend that screen, add old-style meta boxes, or otherwise depend on the previous editor. Classic Editor is an official WordPress plugin, and will be […]

Read More
Wordpress

How to solve WordPress “Briefly unavailable for scheduled maintenance.” problem

- 13.01.19 | 22.11.19 - ErcanOPAK comment on How to solve WordPress “Briefly unavailable for scheduled maintenance.” problem

If you have a problem like that: “Briefly unavailable for scheduled maintenance. Check back in a minute.”, then no worries…The solution is so easy.

Read More
Page 13 of 13
« Previous 1 … 8 9 10 11 12 13

Posts pagination

« Previous 1 … 11 12 13
November 2026
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
30  
« Oct    

Most Viewed Posts

  • How to make theater mode the default for Youtube (1,068)
  • Get the User Name and Domain Name from an Email Address in SQL (990)
  • How to add default value for Entity Framework migrations for DateTime and Bool (986)
  • Get the First and Last Word from a String or Sentence in SQL (865)
  • How to select distinct rows in a datatable in C# (859)
  • How to enable, disable and check if Service Broker is enabled on a database in SQL Server (661)
  • Add Constraint to SQL Table to ensure email contains @ (619)
  • Average of all values in a column that are not zero in SQL (577)
  • How to use Map Mode for Vertical Scroll Mode in Visual Studio (553)
  • Find numbers with more than two decimal places in SQL (481)

Recent Posts

  • Network Speed Monitor Windows Application v2.5.1
  • Ağ Hızı İzleyici Windows Uygulaması v2.5.1
  • How to make theater mode the default for Youtube
  • The AI Prompt That Audits a Function for Thread-Safety Gaps
  • Ajax: Fix a Fetch Request Caching a Response Despite No-Store
  • WordPress: Fix a Navigation Block Losing Submenu Items After Sync
  • Visual Studio: Fix CodeLens Reference Counts Stuck at Stale Numbers
  • C#: Fix a UTF-8 String Literal Behaving Differently in a Switch
  • Photoshop: Fix a Liquify Mesh Snapping Back on a Smart Object
  • The AI Prompt That Turns a Crash Dump Into a Short Repro Script

Most Viewed Posts

  • How to make theater mode the default for Youtube (1,068)
  • Get the User Name and Domain Name from an Email Address in SQL (990)
  • How to add default value for Entity Framework migrations for DateTime and Bool (986)
  • Get the First and Last Word from a String or Sentence in SQL (865)
  • How to select distinct rows in a datatable in C# (859)

Recent Posts

  • Network Speed Monitor Windows Application v2.5.1
  • Ağ Hızı İzleyici Windows Uygulaması v2.5.1
  • How to make theater mode the default for Youtube
  • The AI Prompt That Audits a Function for Thread-Safety Gaps
  • Ajax: Fix a Fetch Request Caching a Response Despite No-Store

Social

  • ErcanOPAK.com
  • GoodReads
  • LetterBoxD
  • Linkedin
  • The Blog
  • Twitter
© 2026 Bits of .NET | Built with Xblog Plus free WordPress theme by wpthemespace.com