SpinupWP currently supports two different types of redirect:

  1. Domain redirects (e.g. redirecting to
  2. Path redirects (e.g. redirecting to

Domain redirects are handled automatically by SpinupWP. Path redirects need to be added manually to a Nginx config file.

Domain Redirects

Redirecting additional domains to the primary domain can be done by enabling the “Redirect to Primary Domain” toggle when creating or updating a site in SpinupWP.

This will ensure each additional domain will 301 (permanent) redirect to the primary domain. Note that SpinupWP will automatically handle redirecting these additional domains to HTTPS if HTTPS is enabled for the site.

Path Redirects

If you want to set up a redirect in Nginx to redirect one path on your site to another path on the same site you can do so by following these steps:

  1. SSH to your server using a sudo user.
  2. Create a new file within /etc/nginx/sites-available/{DOMAIN}/server (the file name is up to you but we recommend something like custom-redirects.conf) with the following contents:
    location /old-slug {
        return 301 /new-slug;
  3. Test that the configuration is correct using sudo nginx -t

  4. If everything looks good, reload Nginx sudo service nginx reload

Start Your 7-Day Free Trial

Start your SpinupWP journey today and spin up your first server within minutes.

Start Your Free Trial

No credit card required

Subscribe to get the latest news, updates and optimizations in performance and security.

Thanks for subscribing 👍

To receive awesome stuff, you'll need to head to your inbox and click on the verification link we sent you.
Make sure to check your "spam" folder or your "promotions" tab (if you have Gmail).
If you're still having trouble, then messages us at

You are already logged in

It looks like you are already logged in to SpinupWP.

Please log out of this account to continue.

Registration Successful

Thanks for registering for a new
SpinupWP account.

Before getting started, could you verify your email address by clicking on the link we just emailed to you?


Free Trial

Start Your 7-Day Free Trial

No credit card required. All features included.

By signing up to SpinupWP, you agree to our Terms and Conditions.
For privacy related information, view our Privacy Policy.