Configuring TYPO3 After Installation: First Steps
After installing TYPO3, it's time to professionally set up your website. A good basic configuration ensures better performance, security, and user-friendliness. In this guide, we will go through all the essential settings.
Backend Access
The TYPO3 backend is the management center of your website.
Opening the Backend
- Open your browser
- Go to
https://jouwdomein.nl/typo3 - Log in with your admin credentials
- You will arrive at the TYPO3 backend dashboard
Understanding Backend Navigation
The backend consists of different modules:
- Web: Page and content management
- File: File management (fileadmin)
- Admin Tools: System configuration
- System: Advanced settings
Configuring Important Settings
Start with the basic settings.
Accessing the Install Tool
- Go to Admin Tools and then Settings
- Or go directly to
https://jouwdomein.nl/typo3/install.php - Log in with the Install Tool password
Basic Site Settings
In the Install Tool, go to Settings:
- Click on Configure Installation-Wide Options
- Configure the main options:
- sitename: The name of your website
- BE/lockSSL: Enable for HTTPS-only backend
- BE/sessionTimeout: Set session timeout
- SYS/trustedHostsPattern: Allowed hostnames
Configuring Email
Set the mail settings in:
// In config/system/settings.php
'MAIL' => [
'transport' => 'smtp',
'transport_smtp_server' => 'mail.jouwdomein.nl:587',
'transport_smtp_username' => 'info@jouwdomein.nl',
'transport_smtp_password' => 'your-password',
'transport_smtp_encrypt' => 'tls',
'defaultMailFromAddress' => 'info@jouwdomein.nl',
'defaultMailFromName' => 'My Website',
],
Creating Site Configuration
TYPO3 12+ uses site configurations for URL handling.
New Site Configuration
- Go to Site Management and then Sites
- Click on + Add new site
- Configure the basic settings:
- Identifier: unique-identifier
- Root Page ID: ID of your root page
- Base:
https://jouwdomein.nl/
Language Settings
Configure languages for your site:
- In the site configuration, go to Languages
- By default, there is a Default language
- Add additional languages if necessary:
- Click on Create new language
- Select the language
- Set the URL prefix (e.g., /en/ for English)
Error Handling
Set error pages:
- Go to Error Handling in the site configuration
- Configure handlers for:
- 404: Page not found
- 403: No access
- 500: Server error
- Refer to special error pages
Building the Page Tree
Create the structure of your website.
Creating the Root Page
- Go to Web and then Page
- Right-click on the root and choose Page
- Create a page with:
- Title: Homepage or Website name
- Type: Standard
- This will be your root page
Adding Subpages
- Right-click on the root page
- Choose New page
- Create pages for:
- About Us
- Services
- Contact
- etc.
- Drag to adjust the order
Page Properties
Each page has properties:
- Select a page
- Go to Page properties
- Configure:
- General: Title, navigation title
- Metadata: SEO title, description
- Appearance: Template selection
- Access: Publication and access
Setting Up Templates
Templates determine the appearance of your site.
Installing Site Package
TYPO3 uses site packages for templates:
# Via Composer
composer require vendor/site-package
# Or create your own package
TypoScript Basics
TypoScript configures the rendering:
- Go to Web and then Template
- Select your root page
- Click on Create new website
- Add basic TypoScript:
page = PAGE
page {
10 = FLUIDTEMPLATE
10 {
templateName = Default
templateRootPaths.10 = EXT:site_package/Resources/Private/Templates/
partialRootPaths.10 = EXT:site_package/Resources/Private/Partials/
layoutRootPaths.10 = EXT:site_package/Resources/Private/Layouts/
}
}
Fluid Templates
Create HTML templates with Fluid:
<!-- Templates/Default.html -->
<f:layout name="Default" />
<f:section name="content">
<main>
<f:render partial="Header" />
<f:cObject typoscriptObjectPath="lib.mainContent" />
</main>
</f:section>
Creating Backend Users
Create accounts for content managers.
Adding a User
- Go to System and then Backend Users
- Click on Create new record
- Fill in:
- Username: username
- Password: strong password
- Realname: Full name
- Email: Email address
- Assign a group
User Groups
- Go to Backend User Groups
- Create groups such as:
- Editors: Can edit content
- Admins: Full access
- Configure rights per group:
- Access to modules
- Language rights
- Page rights
Configuring Cache
Optimize caching for performance.
Clearing Cache
In the backend:
- Click on the lightning icon in the top right
- Select Flush frontend caches or Flush all caches
Via command line:
vendor/bin/typo3 cache:flush
Cache Settings
In config/system/settings.php:
'SYS' => [
'caching' => [
'cacheConfigurations' => [
'hash' => [
'backend' => 'TYPO3\\CMS\\Core\\Cache\\Backend\\ApcuBackend',
],
'pages' => [
'backend' => 'TYPO3\\CMS\\Core\\Cache\\Backend\\FileBackend',
'options' => [
'compression' => true,
],
],
],
],
],
Setting Up Scheduler
Schedule automatic tasks.
Activating Scheduler
- Go to Admin Tools and then Scheduler
- View available tasks
- Activate tasks such as:
- Clearing cache
- Updating index
- File cleanup
Configuring Cronjob
Via DirectAdmin:
*/15* * * * cd /path/to/typo3 && vendor/bin/typo3 scheduler:run
This runs the scheduler every 15 minutes.
Next Steps
Now that your TYPO3 is configured:
- Install required extensions
- Create your first content
- Configure forms
- Set up redirects
Related Articles
Need Help?
We are here for you! Are you facing any issues or do you have questions? Our support team is happy to assist you personally. Send us a message via the ticket system - we usually respond within a few hours and are happy to help.
0 van 0 vonden dit nuttig