Dev.to WebDev 🛠 Dev 👁 2 📖 5 min read

Running a High-Volume News Site on WordPress: What Actually Causes Trouble

I run uae-daily.com, a WordPress news and guides site for a UAE audience, mostly in Arabic. It is new, so this is not a post about scaling to millions of visits. It is about the problems that show up first when you publi

I run uae-daily.com, a WordPress news and guides site for a UAE audience, mostly in Arabic. It is new, so this is not a post about scaling to millions of visits. It is about the problems that show up first when you publish a lot, very fast, on ordinary WordPress hosting. The advice is general enough to apply to your own site.

Publishing throughput is a database and cron problem

The first thing that happened is that a large batch of posts went live in one evening, and more were scheduled across the following days. Two parts of WordPress matter here.

Scheduled posts depend on WP-Cron. WP-Cron does not run on a clock. It runs when someone visits the site, so a quiet period can leave a scheduled post sitting at "Missed schedule". The fix is to turn off the visitor-triggered behavior and call it from a real scheduler:

// wp-config.php
define('DISABLE_WP_CRON', true);
*/5 * * * * curl -s https://example.com/wp-cron.php?doing_wp_cron > /dev/null 2>&1

Every five minutes is a good starting point for a site that schedules many posts per day. If your host offers a cron panel, use it. If not, any external uptime service that can hit a URL on a timer will do the job.

Every publish triggers work. Saving a post fires hooks: sitemap regeneration, cache purges, ping services, search index updates, and whatever your plugins add. Publish fifty posts at once and that work stacks up. Before a large batch, deactivate plugins that do nothing for the batch (social auto-posters are the usual offenders), and keep an eye on how long a single publish request takes. If one save takes seconds, a bulk import will time out.

If you create posts through code or the REST API, send them in small groups instead of one huge request. Smaller groups are easier to retry, and a failed request leaves you with a clean list of what is missing.

Caching and page speed on modest hosting

Shared or entry-level hosting has little CPU and RAM to spare, so the goal is simple: PHP should run as rarely as possible for anonymous visitors.

  1. Full-page caching first. A page cache that serves static HTML turns most requests into a file read. This one change matters more than anything else on this list.
  2. A persistent object cache if the host supports it (Redis or Memcached). Without it, WordPress repeats the same database queries on every uncached request.
  3. Cache the right things for news. Home pages and category archives change whenever you publish. Set a short lifetime for them, or purge them on publish, but keep individual articles cached for much longer. A stale article page is rarely a problem, while a stale home page that hides your newest post is.
  4. Images are the heavy part. Resize to the display size before upload, serve WebP, and lazy-load everything below the fold. Do not lazy-load the largest image at the top of the page, because that is usually the element that determines your Largest Contentful Paint.
  5. Watch plugin weight. Each plugin that loads CSS and JavaScript on every page costs you. Check the network tab on a plain article page and remove scripts that nothing on that page uses.

Measure with real tools: Lighthouse for a lab check, and the Core Web Vitals report in Google Search Console for field data. Field data takes weeks to appear on a new site, so do not panic over an empty report early on.

Arabic content in WordPress

Arabic works well in WordPress, but a few details need attention.

  • RTL support in the theme. A theme needs proper RTL stylesheets and should set dir from the site language. If you build your own theme, test with is_rtl() and mirror margins, floats, and icons. Padding that looks right in LTR will look wrong without this.
  • Slugs. WordPress will happily create percent-encoded Arabic slugs. They work, but they look terrible when copied into chat apps and logs. Pick one policy for the whole site (Arabic slugs or short transliterated English ones) and keep to it. Changing it later means redirects.
  • Fonts. Arabic web fonts can be large. Subset them, use font-display: swap, and avoid loading four weights when two will do.
  • Database collation. Use utf8mb4. Older installs on utf8 can mangle some characters, and this is painful to fix after thousands of posts exist.
  • Mixed-language content. If you add English to an Arabic site, decide early whether it lives in the same install with a multilingual plugin or in a separate one. Either choice works. Switching mid-way is expensive. Whichever you pick, set hreflang correctly and make sure each language version links to its counterpart.
  • Search. The default WordPress search handles Arabic poorly, especially with diacritics and letter variants such as different forms of alef. If search matters on your site, plan for it.

Keeping SEO intact at high volume

Publishing quickly makes it easy to publish carelessly. A few checks catch most of the damage:

  • One canonical URL per article. Check that tag pages, date archives, and attachment pages are not creating thin duplicates. Most SEO plugins let you noindex low-value archives.
  • Sitemaps that stay current. Make sure the sitemap index is listed in robots.txt and submitted in Search Console. After a batch publish, open the sitemap and confirm the new URLs are in it.
  • Internal links. Every new article should link to at least a couple of related articles, and should receive links from existing ones. Orphan pages are slow to get crawled. A simple habit works: when you publish, search your own site for the topic and add links both ways.
  • Unique titles and descriptions. Template-generated titles repeated across dozens of posts look like duplication. If your titles are produced from a pattern, add something specific to each one.
  • Status codes after cleanup. If you delete drafts or merge duplicates, redirect old URLs with a 301 instead of leaving 404s.
  • Indexing takes time. A new domain can take days or weeks to be crawled well. Request indexing for key pages in Search Console, but do not expect an instant result.

What I would do first on a new publishing site

If you are setting up something similar to UAE Daily, this is the order I would follow:

  1. Move WP-Cron to a real scheduler.
  2. Install a page cache, test it logged out, and test that publishing purges the right pages.
  3. Decide Arabic slug policy, language setup, and collation before importing content.
  4. Set up the sitemap, robots rules, and Search Console.
  5. Publish a small batch first, check timing, cache, and sitemap, and then scale up.

The common thread is that every problem here is cheaper to prevent than to repair. A missed schedule, a stale home page, or a slug policy you regret all stem from decisions made in the first week.

📰 Read the original article on Dev.to WebDev

Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.