> For the complete documentation index, see [llms.txt](https://devguide.e107.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://devguide.e107.org/classes-and-methods/redirection.md).

# Redirection

{% hint style="danger" %}
**Please note:** This page is under construction and has not been finished yet.
{% endhint %}

* You can redirect to a URL using the following static method:

```php
$url = "https://www.yourwebsite.com".
e107::redirect($url);
```

* To redirect to the homepage, simply leave the URL blank.

```php
e107::redirect();
```

* To redirect to the Admin Area, use the value 'admin'.

```php
e107::redirect('admin');
```
