Monday, July 23, 2012

Redirecting users from one Web site to another

There are several different ways to redirect browsing from one domain to another. One of the most common and simple techniques is the use of a meta tag to redirect web pages. 

The process and code below can be used or adapted as required.
  1. Open Notepad.
  2. Copy the text below into Notepad:

    <header>
    <META HTTP-EQUIV=Refresh CONTENT="0; URL=http://www.your-school.co.uk">
    </header>
  3. Adjust the following line with the address that users will be automatically sent to:

    <META HTTP-EQUIV=Refresh CONTENT="0; URL=http://www.addressgoeshere.co.uk">
  4. Click File then Save.
  5. When the dialog appears, select All Files from the 'Save as Type' drop-down box.
  6. Save your file with the name of the default document for your site (usually default.htm, index.htm or index.html).
  7. Upload this new file to the Web site, replacing the existing one (back this up if required).
Users going to your site will now be presented with the custom default document, which will send them onto your specified secondary address instantly. Test this out and verify that the operation completes successfully.
If, for any reason, you wish to delay the transfer, you can edit the "CONTENT=" value accordingly. This is the amount of time, in seconds, until the browser should reload the current page

Hint: Often organisations will register many different domain names and filter them all back to a single Web site. This means that the Web designers need only worry about updating a single Web site, but can capture as much traffic as possible. For example:
www.rmplc.co.uk automatically redirects to www.rm.com
www.rmplc.net automatically redirects to www.rm.com
support.rm.com automatically redirects to www.rm.com/support

SEO Master: Sukanto Saha

Odesk Hire Link: 
 

Collected

No comments: