Nexcess Logo

How to create URL redirect rules

Knowledge Base Home

Notice anything different?

We've enhanced the appearance of our portal and we're working on updating screenshots. Things might look different, but the functionality remains the same.
September 10, 2019

How Nexcess clients on physical (non-cloud) servers can use SiteWorx to create redirect URLs.

What you need

  • A back up of your .htaccess file 
  • An enabled global .htaccess file. For information on creating a global .htaccess file for your site, refer to How to create htaccess files

Redirect rule types

The following table describes the most commonly used redirect rules.

Permanent301Returns a permanent redirect status (301), indicating that the resource has moved permanently.
Temporary302Returns a temporary redirect status (302). This is the default.
See Other303Returns a "See Other" status (303), indicating that the resource has been replaced.
Gone410Returns a "Gone" status (410), indicating that the resource has been permanently removed. When this status is used, the URL argument should be omitted.


ATTENTION: Always back up your .htaccess file before making changes to it.

    1. Log in to your SiteWorx account.
    2. On the homepage, verify the Managing Domain field shows the correct domain. If it does not, select the correct one from the Change Domain drop-down list.
    3. On the main menu, click Hosting Features > Htaccess.
    4. In the Global Directory Options section, select the check box corresponding to the desired file, then click Edit. In most cases, it will be first file listed. If you are unsure, contact our support team for assistance.
    5. In the Redirects section, click Add.
    6. In the Redirect From field, type the path, relative to the root directory, to be redirected. In the Redirect To field, enter the absolute URL. For example, to redirect from to, specify the URLs as follows:
    7. From the Redirect Type list, select the redirect type for this redirect rule, then click Save. See the redirect rule types section for more information.

For more information about additional redirect types, refer to the Apache documentation.

For 24-hour assistance any day of the year, contact our support team by email or through your Client Portal.
Jason Dobry
We use cookies to understand how you interact with our site, to personalize and streamline your experience, and to tailor advertising. By continuing to use our site, you accept our use of cookies and accept our Privacy Policy.