Need help? Call us on 1300 789 260

301 Redirect using NGINX

Difficulty: Intermediate


A 301 redirect is a way to move traffic to a new site without taking a hit to your SEO rankings. The 301 redirect and is the most popular kind of redirect and nearly always the best method. Using NGINX means the that the server redirects the page efficiently and independently of your Content Management System (CMS).


  1. Log into your control or Plesk panel
  2. Navigate to Websites & Domains > Your Subscription > Apache & nginx Settings
  3. Scroll down to the "Additional nginx directives" section
  4. Add the following code to the text box provided, using the target domain instead of
    return 301$request_uri;

  5. Click "Ok" to apply and save.
Was this article helpful? Yes No

Having trouble? We’re here to help!

We’ve built our company with a serious focus on quality service. Feel free to give us a call!

1300 789 260