Skip to content
Search
GitHub
Discord
Select theme
Dark
Light
Auto
Select language
English
Deutsch
Português do Brasil
Español
简体中文
正體中文
Français
हिन्दी
العربية
日本語
한국어
Polski
Русский
Italiano
Start Here
Getting Started
Installation
Editor Setup
Upgrade to v3
Core Concepts
Why Astro
Astro Islands
Tutorials
Build a Blog
Extend with Content Collections
Extend with View Transitions
Basics
Project Structure
Components
Pages
Layouts
Astro Template Syntax
Rendering Modes
Built-ins
Content Collections
View Transitions
Prefetch
Add-ons
Add integrations
UI Frameworks
SSR Adapters
Recipes
Migrate to Astro
Connect a CMS
Add backend services
Deploy your site
More recipes
Guides
Routing
Markdown
Scripts & Event Handling
CSS & Styling
Images
Fonts
Imports
Endpoints
Data Fetching
Internationalization
Middleware
Testing
Troubleshooting
Configuration
The Astro Config File
TypeScript
Import Aliases
Environment Variables
Reference
Configuration
Runtime API
Integrations API
Adapter API
Image Service API
Dev Overlay Plugin API
Template Directives
The Astro CLI
Error Reference
NPM Package Format
Sponsored by
GitHub
Discord
Select theme
Dark
Light
Auto
Select language
English
Deutsch
Português do Brasil
Español
简体中文
正體中文
Français
हिन्दी
العربية
日本語
한국어
Polski
Русский
Italiano
A redirect must be given a location with the Location header.
What went wrong?
A redirect must be given a location with the
Location
header.
See Also:
Astro.redirect