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

> [!WARNING]
> **Attention**
>
> TYPO3 v11 has reached end-of-life as of October 31th 2024 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 v11 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@11.5)
-   [Creation](https://docs.typo3.org/permalink/t3coreapi:creating-a-new-site-configuration@11.5)
-   [Base variants](https://docs.typo3.org/permalink/t3coreapi:base-variants@11.5)
-   [Adding Languages](https://docs.typo3.org/permalink/t3coreapi:adding-languages@11.5)
-   [Error handling](https://docs.typo3.org/permalink/t3coreapi:error-handling@11.5)
    -   [Page-based error handler](https://docs.typo3.org/permalink/t3coreapi:page-based-error-handler@11.5)
    -   [Fluid-based error handler](https://docs.typo3.org/permalink/t3coreapi:fluid-based-error-handler@11.5)
    -   [Writing a custom page error handler](https://docs.typo3.org/permalink/t3coreapi:writing-a-custom-page-error-handler@11.5)
-   [Static routes](https://docs.typo3.org/permalink/t3coreapi:static-routes@11.5)
-   [Environment variables](https://docs.typo3.org/permalink/t3coreapi:using-environment-variables-in-the-site-configuration@11.5)
-   [Usage in TypoScript + Fluid](https://docs.typo3.org/permalink/t3coreapi:using-site-configuration-in-typoscript@11.5)
-   [Usage](https://docs.typo3.org/permalink/t3coreapi:using-site-configuration-in-conditions@11.5)
-   [Usage in TCA](https://docs.typo3.org/permalink/t3coreapi:using-site-configuration-in-tca-foreign-table-where@11.5)
-   [Site settings](https://docs.typo3.org/permalink/t3coreapi:site-settings@11.5)
-   [Console tools](https://docs.typo3.org/permalink/t3coreapi:cli-tools-for-site-handling@11.5)
-   [PHP API](https://docs.typo3.org/permalink/t3coreapi:php-api-accessing-site-configuration@11.5)
-   [Extended configuration](https://docs.typo3.org/permalink/t3coreapi:extending-site-configuration@11.5)
