What is WordPress and how does it work: a beginner's guide
· The AYT team · 9 min read

WordPress is a free, open-source content management system (CMS) for building and updating a website without writing code. You write pages and posts in an editor, change the look with a theme and add features with plugins, and WordPress puts it all together every time a visitor opens a page. It runs on any web server with PHP and a MySQL or MariaDB database and, according to W3Techs, in December 2026 it powered 38.2% of all websites in the world and 57.2% of the sites whose CMS is known.
What WordPress is, in short
A CMS separates content from how it looks. Text, images and settings live in a database, and code turns them into pages. Change the theme and the content stays the same; write a new post and you don't touch a single file.
WordPress started in 2003 as a blogging platform, created by Matt Mullenweg and Mike Little from an older project, b2/cafelog. Today it's used for almost any kind of site:
- business and brochure websites;
- blogs and publications;
- online shops, with the WooCommerce plugin;
- portfolios, event sites, online courses and members' areas.
The licence is the GPL (version 2 or later). In practice, you can use WordPress for any purpose, study and modify it, and redistribute it, modified versions included. Nobody can take away your right to use it.
WordPress.org or WordPress.com
The names confuse many beginners, because they're two different things.
| WordPress.org | WordPress.com | |
|---|---|---|
| What it is | the free software you install on a host | a hosted service run by Automattic |
| Where the site lives | at the hosting provider you choose | on WordPress.com's servers |
| Plugins and themes | any plugin or theme | depending on the plan |
| Who looks after the server | you or your hosting provider | WordPress.com |
| Moving the site | copy it anywhere | through an export |
When people say "a site on WordPress", they usually mean WordPress.org installed on a host. That's what the rest of this guide is about.
How WordPress works
For every page requested, roughly the same thing happens:
- The visitor's browser asks the web server for the page's address.
- The server starts PHP, which loads WordPress, the theme and the active plugins.
- WordPress reads the page's content, menus and settings from the database.
- The theme turns everything into HTML, and the server sends the page back to the browser.
All of this usually takes under a second, but it repeats on every visit. That's why caching matters: a page cache keeps the finished HTML and sends it straight away, and an object cache such as Redis keeps query results in memory. The details are in the guide to Redis Object Cache, and what to do when pages load slowly is in the guide to a slow WordPress site.
Where the files and data live
On the server, a WordPress install has three folders and one important file:
wp-adminandwp-includeshold the WordPress core. You never edit them; they're replaced on every update.wp-contentholds what's yours: themes, plugins and uploaded files (uploads).wp-config.phpholds the database login details and a few settings.
The database stores posts and pages (wp_posts), settings (wp_options), users (wp_users) and comments. A full backup always means both parts: the files and the database. How to do it properly is in the WordPress backup guide.
The parts you use every day
The block editor
Since WordPress 5.0 (December 2018), content is written in the block editor, also called Gutenberg. Every paragraph, image, heading or button is a block you can move, copy and format on its own. With block themes, the same editor also builds the header, footer and page templates (the site editor).
Posts and pages
Posts are dated content: news, blog posts, announcements. They're grouped into categories and tags and appear in a list, newest first. Pages are fixed content: About us, Services, Contact. They have no date and don't appear in the post feed.
Themes
The theme decides how the site looks: layout, colours, fonts, header and footer. The official WordPress.org directory has thousands of free themes, and many also have a paid version. For most sites a lightweight theme is the right choice; we compared three of the most used ones in Astra vs GeneratePress vs Kadence. If you want to build pages visually, by drag and drop, read the Elementor tutorial for beginners.
Plugins
Plugins add features: contact forms, an online shop, SEO, backups, security, caching. The WordPress.org directory is the largest directory of free, open-source WordPress plugins. Each plugin is code running on your site, so every extra one means one more update and one more possible weak spot. Install only what you use.
Users and roles
WordPress has five basic roles: Administrator (controls everything), Editor (publishes and edits any content), Author (publishes their own posts), Contributor (writes but can't publish) and Subscriber (manages only their profile). Give each person the smallest role they need.
WordPress's strengths and limits
What you gain:
- free software, with no licence per site;
- the largest community of themes, plugins and developers;
- the site and its data are yours; you can move it to another provider at any time (the steps are in the guide to moving a WordPress site);
- good SEO basics: clean addresses, titles, sitemaps.
What you have to look after:
- Updates. WordPress, the theme and plugins get frequent updates, many of them security fixes. How to apply them without breaking the site is in the guide to updating themes and plugins.
- Security. Because it's so widely used, WordPress is the favourite target of bots looking for vulnerable plugins and weak passwords. Two-factor authentication and up-to-date software stop most attacks.
- Speed depends on the hosting, the theme and the number of plugins.
- Conflicts. Two plugins that do the same thing can clash, and a bad update can cause a 500 error.
What you need to get started
- A domain, such as
yourcompany.ro. For.rodomains, the steps are in the guide to registering a .ro domain. - Hosting that meets WordPress's requirements. At the end of 2026, WordPress.org recommended PHP 8.3 or newer, MariaDB 10.11 or MySQL 8.4, and HTTPS support; the current requirements are on the official page.
- WordPress installed. Most providers install it in one click; by hand, you upload the files, create a database and run the install wizard.
If you want to learn first without paying anything, you can run WordPress on your own computer; the guide to local WordPress with LocalWP shows you how.
First steps after installing
A short list worth going through on any new site:
- Settings → General: Site Title, Tagline, Timezone and Site Language.
- Settings → Permalinks: choose "Post name", so addresses look like
/about-us/. - Delete the themes (Appearance → Themes) and plugins (Plugins) you don't use.
- Choose and set up your theme.
- Set up email sending over SMTP, so form messages reach your inbox instead of spam (the SMTP guide).
- Check that the site runs on HTTPS with no mixed content warnings (the HTTPS guide for WordPress).
- Turn on automatic backups and check that you can restore from them.
- Turn on two-factor authentication for administrators.
For more advanced work: a staging site for tests, a real cron instead of WP-Cron and 301 redirects when you change page addresses.
Versions and updates
WordPress releases one or more major versions a year (7.0, 7.1 and so on) and, in between, small maintenance and security releases (7.1.1, 7.1.2…). You can see the current version under Dashboard → Updates and on the releases page at WordPress.org. Small security releases install automatically on most sites. Major ones are worth testing on a copy first.
The PHP version matters just as much: an old version is slower and no longer gets security patches. How to change it safely is in the guide to the PHP version in WordPress.
How much a WordPress site costs
The software is free. You pay for the domain, the hosting and, optionally, a premium theme or plugins and a developer's time if you don't do everything yourself. How the costs add up for a business site is in the guide to how much a website costs, and the steps for a simple one in the guide to a business website with WordPress.
Frequently asked questions
Is WordPress hard to learn?
For writing posts and pages, no: the editor feels like a word processor. The more technical part is the initial setup (theme, plugins, email, backups), which you do once.
Is WordPress secure?
The WordPress core is carefully maintained and gets security patches quickly. Break-ins usually start from outdated plugins or themes and weak passwords. If it does happen, the clean-up steps are in the guide to a hacked WordPress site.
Do I need to code to build a site with WordPress?
No. With a good theme and the block editor or a visual builder you can build a complete site without code. Coding only helps when you want features no plugin offers.
WordPress on AYT hosting
AYT WordPress hosting is built around WordPress. From the WordPress Toolkit you install it in one click, as a single site or Multisite, manage plugins, themes and users and log in to wp-admin without a password. On paid plans we look after the server, PHP, SSL certificates, the firewall and malware scans, WordPress updates are supervised, you get staging copies, and backups run daily and are kept in 3 locations.

If you already have a WordPress site with another provider, on a paid plan we move it for free, within 2 working days, with the site online the whole time. If you just want to try it, there's also a free plan with the panel, the WordPress Toolkit, SSL and email.
