Server Administration
Rotate Logs With logrotate
A log file that grows forever will eventually fill the disk. Write a logrotate config that renames, compresses and expires old copies, test it…
Web Development Tutorials
NdrieL is a web-development tutorials site — clear, step-by-step guides for WordPress, PHP and Laravel, each one worked through from the first line of code to a result you can run. No fluff — just the steps that work.
New to the stack? Work through these in order — from setup to a running app.
Set up your site
Install WordPress Locally On WindowsCustomize safely
Create a WordPress Child ThemeAdd your own content
Register A Custom Post Type In WordPressMake it dynamic
Create A Shortcode In WordPressLoad your own code
Enqueue CSS And JavaScript In WordPressServer Administration
A log file that grows forever will eventually fill the disk. Write a logrotate config that renames, compresses and expires old copies, test it…
Programming
WordPress builds a query for every page before it runs, and pre_get_posts hands you that query while it is still being built. Change how…
Database Administration
A join widens a row by adding columns; UNION instead stacks one result on top of another. Build a single contact list from a…
Programming
PHP decides two things separately: whether to print a problem to the browser, and whether to write it to a file. Set display_errors and…
Server Administration
Set file and directory permissions with chmod, numerically and symbolically, and you control exactly who can read, write, or execute anything on a Linux…
Programming
Schedule recurring tasks with WP-Cron, WordPress's built-in scheduler. This tutorial hooks a task to a custom action, adds a five-minute interval through cron_schedules, schedules…
Database Administration
Write a subquery in MySQL to answer a question inside a question - a SELECT nested in another statement's WHERE or column list. This…
Programming
Sort and filter arrays in PHP with the functions built for the job: sort and asort for flat lists, usort to order rows by…
Server Administration
Create a systemd service to keep a long-running program alive - started at boot, restarted on a crash, logs collected. This tutorial writes a…
Server Administration
Enable gzip compression in Apache with mod_deflate and every text response shrinks before it crosses the wire. This tutorial loads the module, sets AddOutputFilterByType…
PHP, Laravel, WordPress and jQuery — hands-on coding guides worked through end to end.
57 tutorials →Apache, environments, and running your stack on Windows without the guesswork.
14 tutorials →MySQL queries, PDO, and the everyday tasks of keeping your data in order.
18 tutorials →