title: How to redirect your web page to another using the index.html file
source: https://www.swhosting.com/en/comunidad/manual/how-to-redirect-your-web-page-to-another-using-the-indexhtml-file
author:
- "[[SW Hosting]]"
published: 2019-02-28
created: 2025-06-25
description: Find all the resources you need
tags:
- Help
· Tutorial ·
For various reasons, we may be forced to redirect our website to a new destination. In this manual we will show you how to do it using an "index.html" file.
The user will have accessed 'swhosting.com' and will be redirected to 'swhosting2.com' as the browser URL will change automatically.
First you must have a domain, a hosting service, an FTP account created and the Filezilla client. You can consult our manuals for more information:
1 Create a text document on your computer with the following lines of code substituting the domain "manuals.com" for the domain you want the user to address.
<head>
<meta http-equiv="Refresh" content="0;url=http://www.manuales.com">
</head>
<body>
</body>
2 Once created, save the file by calling it "index.html".
3 Upload the file to your server via FTP to the folder "data / web"