Reaching Others University at Buffalo - The State University of New York
Skip to Content

How do I relocate a site off of Wings?

For sites that have moved, we do not put in an apache redirect and a log file.

What we recommend to you is the following:

  1. Make a backup of your site's files.
  2. Remove all the files and subdirectories from the site.
  3. Create a new index.html:
          -------cut here-------

    This site has moved

    In 10 seconds, your browser should take you to the new location at:
    http://new-site.buffalo.edu/

          -------cut here-------
    You can make this page as pretty as you like, but for search engines, stick to plain html and basic static images. Note: the 'content="10"' in the 'meta' tag signifies 10 seconds delay until the refresh. You can set this to anything, even 0. Google and other search engines are smart enough to see the meta tag and then only index the new site.

  4. Create a custom error page so that any request for any page in the old site will display the page you created in step #3 and then get redirected to the new site. Create a file called ".htaccess". Note that there is a period (.) at the beginning of the filename, and not at the end. This file should contain one line:

            ErrorDocument 404 /wings/info/www/path-to-your-index.html

Replace "path-to-your-index.html" with the path to your index.html that you created in step #3.

Did This Page Answer Your Question?

(Required)
 
Email, UBITName or phone number
(Required)
Enter the letters or numbers you see below in the space provided. Click "Get a new challenge" if they are not readable.