How To Redirect A Website - How To Setup A 301 Or 302 Redirect
If you are using assistive technology and are unable to read any part of the HostMonster website, or otherwise have difficulties using the HostMonster website, please call 866-573-HOST and our customer service team will assist you.
Skip to main content

HostMonster Web Hosting Help

How To Redirect A Website - How To Setup A 301 Or 302 Redirect

Summary

The Redirects tool comes with your Hosting plan and will allow you to redirect your domain names.

How to setup a Redirect

  1. Login to your HostMonster cPanel account.
  2. Click the Redirects icon, in the Domains section of the cPanel.

301 or 302 Redirect

  1. From the Type menu you will need to choose which type of redirect to use.
    • Permanent 301: A 301 redirect will update the visitors bookmarks and direct search engines to the new site.
    • Temporary 302: A 302 redirect will redirect the visitor or search engine, but will not update the bookmark and the search engine will continue to index to the original page.

Url to Redirect

  1. Choose your domain name you would like to redirect, using the drop-down menu.
  2. If you would like to redirect a single page or directory; you can use the text field following the drop-down menu to enter the name of the folder or file.

Destination URL

  1. Enter the full URL of the page you will be redirecting to in the "redirects to ->" text field.
    Note: You need to enter the protocol as well, e.g. http://, https:// or ftp://

WWW Redirect options

  1. Select if you will be redirecting www. or not.
    • "Only redirect with www."This option will only redirect visitors that use www. as part of the URL
    • "Redirect with or without www."This option will redirect all visitors.
    • "Do Not Redirect www."This option will not redirect visitors that use www. as part of the URL

Wild Card Redirect

  1. Click the "Wild Card Redirect' if you would like to redirect to the same file on the new destination.

    Example: www.example.com redirects to www.example-destination.com

    • With "Wild Card Redirect": www.example.com/about.html will redirect to www.example-destination.com/about.html
    • Without "Wild Card Redirect": www.example.com/about.html will redirect to www.example-destination.com

  2. Click the "Add" button to create the redirect.

If you are not hosting with us, or only have a domain name, you will need to redirect your domain name by updating the DNS.

Knowledgebase Article 653,309 views bookmark tags: htaccess redirect redirects


Was this resource helpful?

Did this resolve your issue?


Please add any other comments or suggestions about this content:





Recommended Help Content

Redirects allow you to make a specific web page redirect to another page and display the contents of that page. Learn how to setup a Permanent (301 or Termporary (302) redirects.
Video "How-to" Tutorial 597,263 views tags: cpanel cpanelutilities domain forward redirect

How do I perform a URL redirect/rewrite using the .htaccess file?
Knowledgebase Article 1,932,285 views tags: htaccess redirect rewrite url

The redirection of www.yourdomain.com/default.html or index.html to http://www.yourdomain.com/index.php?act=whatever redirects it to http://www.yourdomain.com/index.php%3fact=whatever In other words,
Knowledgebase Article 1,033,407 views tags: htaccess messing mod php redirect redirects rewrite variable variables

Related Help Content

How do I redirect users to another page using PHP?
Knowledgebase Article 930,556 views tags: header location php redirect redirects

How to force https on entire website.
Knowledgebase Article 376,959 views tags: htaccess ssl website

What is the .htaccess file and where can I find more information?
Knowledgebase Article 2,080,362 views tags: htaccess tips tricks

Explains how to edit the .htaccess
Knowledgebase Article 363,401 views tags: htaccess

How do I make a sub directory (or sub folder) act as the public_html for your main domain?
Knowledgebase Article 1,094,468 views tags: Drupal domain htaccess joomla wordpress

How to run CGI scripts for Addon domains.
Knowledgebase Article 230,494 views tags: cgi htaccess

Preventing bandwidth theft using the mod rewrite engine and .htaccess
Knowledgebase Article 206,210 views tags: htaccess rewrite

This article will explain how to add a PHP handler to your .htaccess files. This is useful if you want to customize the version of PHP that runs your PHP files.
Knowledgebase Article 400,466 views tags: htaccess php

This site utilizes JavaScript to function correctly. Looks like it's disabled on your browser. Please enable it for your best experience.

For instructions on enabling JavaScript, click here