• Welcome to AcornDomains.co.uk, a friendly community for UK domain investors, developers and anyone interested in domain names.

    Whether you're looking to buy or sell domains, learn more about the UK domain market, get feedback on your names, or simply chat with other domainers, you're in the right place. AcornDomains has been bringing together people from across the UK domain industry for many years, from complete beginners to experienced investors.

    Have a look around, join the discussions and, if you haven't already, create a free account and introduce yourself.

html redirect

Status
Not open for further replies.

AdminAdmin is verified member.

Administrator
Acorn Staff
Acorn Moderator
Developer
Server Admin
Nominet Registrar
Joined
Jun 14, 2004
Posts
11,191
Reaction score
1,059
Ever wondered how to make an html redirect page?

Here is the HTML Code:

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Your Page Title</title>
<meta http-equiv="REFRESH" content="0;url=http://www.[I]yourdomain[/I].co.uk"></HEAD>
<BODY>
Optional page text here.
</BODY>
</HTML>

HTML Code Description:
<meta http-equiv="REFRESH" content="0;url=http://www.yourdomain.co.uk"> is the part that actually does the redirecting.

The number preceding the url (in this case zero) tells the browser the number of seconds to wait before redirecting to the new destination URL.

You could set this to 5 and add some optional text to your page - something like: "Please wait while we redirect you to our new site" but you may as well set it to zero and move your visitor to the new site as quickly as possible.

That's it!

Just copy the code, save it (i.e. save as index.html) and your html redirect will work perfectly.

Admin
 
Status
Not open for further replies.
Top Bottom