---
title: "Site handling"
manual: "TYPO3 Explained"
version: "12.4"
permalink: "https://docs.typo3.org/permalink/t3coreapi:sitehandling@12.4"
source: "ApiOverview/SiteHandling/Index.rst"
rendered: "2026-10-21T15:29:37+00:00"
---

> [!WARNING]
> **Attention**
>
> TYPO3 v12 has reached end-of-life as of April 30th 2026 and
> is no longer being maintained. Use the version switcher on the top
> left of this page to select documentation for a supported version of TYPO3.
>
> Need more time before upgrading?
> You can purchase Extended Long Term Support (ELTS) for TYPO3 v12 here:
> [TYPO3 ELTS](https://typo3.com/services/extended-support-elts).

# Site handling {#sitehandling}

The site handling defines entry points to the frontend sites of a
TYPO3 instance, their languages and routing details. This chapter walks
through the features of the module and goes into API and programming details.

-   [Basics](https://docs.typo3.org/permalink/t3coreapi:site-handling-basics@12.4)
-   [Creation](https://docs.typo3.org/permalink/t3coreapi:creating-a-new-site-configuration@12.4)
-   [Base variants](https://docs.typo3.org/permalink/t3coreapi:base-variants@12.4)
-   [Adding Languages](https://docs.typo3.org/permalink/t3coreapi:adding-languages@12.4)
-   [Error handling](https://docs.typo3.org/permalink/t3coreapi:error-handling@12.4)
    -   [Page-based error handler](https://docs.typo3.org/permalink/t3coreapi:page-based-error-handler@12.4)
    -   [Fluid-based error handler](https://docs.typo3.org/permalink/t3coreapi:fluid-based-error-handler@12.4)
    -   [Writing a custom page error handler](https://docs.typo3.org/permalink/t3coreapi:writing-a-custom-page-error-handler@12.4)
-   [Static routes](https://docs.typo3.org/permalink/t3coreapi:static-routes@12.4)
-   [Environment variables](https://docs.typo3.org/permalink/t3coreapi:using-environment-variables-in-the-site-configuration@12.4)
-   [Usage in TypoScript + Fluid](https://docs.typo3.org/permalink/t3coreapi:using-site-configuration-in-typoscript-and-fluid-templates@12.4)
-   [Usage](https://docs.typo3.org/permalink/t3coreapi:using-site-configuration-in-conditions@12.4)
-   [Usage in TCA](https://docs.typo3.org/permalink/t3coreapi:using-site-configuration-in-tca-foreign-table-where@12.4)
-   [Site settings](https://docs.typo3.org/permalink/t3coreapi:site-settings@12.4)
-   [Console tools](https://docs.typo3.org/permalink/t3coreapi:cli-tools-for-site-handling@12.4)
-   [PHP API](https://docs.typo3.org/permalink/t3coreapi:php-api-accessing-site-configuration@12.4)
-   [Extended configuration](https://docs.typo3.org/permalink/t3coreapi:extending-site-configuration@12.4)
