How to add a 301 redirect with MediaTemple web hosting (archive)

by The WordPress Guy | Blog, How to, web hosting

Please note: Media Temple was acquired by GoDaddy in October 2013, but the two brands operated separately until February 2023, when the Media Temple brand was retired and its services were merged into GoDaddy

See Wikipedia entry about it https://en.wikipedia.org/wiki/Media_Temple
This post now is just a historical reference now for nostalgia only.

If you have Media Temple web hosting with the GS or Grid Service this is a really quick and easy way to setup a 301 redirect to divert all traffic from one domain to another

Step 1

After logging in go to the Account Center select Overview -> Admin

Step 2

Select File Manager

Step 3

Select Domains

Step 4

Select the domain name you want to divert the traffic AWAY from

Step 5

Select the HTML folder

Step 6

Select the .htaccess file or upload a copy of one if there isn't one there

Step 7

Add the code below to the .htaccess file  substituting 'yourmainwebsite.com' for you want to divert the website to.

 

Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*) http://www.yourmainwebsite.com/$1 [R=301,L]

Click save changes and you're done.

This diverts all traffic to the other site. There is a great tutorial about 301 redirect codes you can use with .htaccess giles here:

http://knowledge.freshpromo.ca/seo-tools/301-redirect.php

WP AI Success Hub text in bold white letters on a dark blue irregular shape with yellow and blue paint splatters and yellow and white radial stripes background.
The WP Guy - Tony Cosentino

The WP Guy

Here to help with many areas of your WordPress needs.

Website Health Check

Thorough audit of your WordPress website.

SEO Website Audit

Get a comprehensive SEO audit showing what’s holding your site back and the priority fixes to improve search visibility.

Ongoing Support

Let me take care of the Website stuff so you can focus on what you do best.