Server Redirects
The Redirects function in the Staq Panel is the most efficient and secure way to handle server-side redirections. Unlike WordPress plugins, which can pose security risks if compromised, the Staq Redirects tool ensures safe, server-level redirects.
With this tool, you can:
- Export redirects via a CSV file
- Import existing redirects into Staq via CSV
The export functionality supports query strings, making it versatile and reliable for complex redirect requirements.
Supported Redirect Types
The Staq Redirects tool supports the following redirect types:
- 301: Moved Permanently
- 302: Moved Temporarily
- 403: Forbidden
- 404: Not Found
- 444: No Response
You can access the Redirects tool via the Staq Panel:

Setting Up Redirects
Importing or Adding Redirects
To import redirects, download the CSV template available under the Redirects section in the Staq Panel. Alternatively, you can manually add entries by clicking +Add.

Redirecting Between Domains
Say your primary domain is example.com, and you want to set up the following redirects:
example.com/payment → stripe.com/123hello.com/about → example.com/abouttest.com → example.com(domain alias)
Step 1: Set Up Domains
Before creating redirects, ensure all domains are added to the Staq Panel:
- Navigate to the Domains section in the Staq Panel.

- Click +Add Domain and enter the appropriate domain names.

Ensure that the DNS A records for these domains point to the correct server IP address. Without this step, the redirect functionality will not work properly.
Step 2: Add Redirects
- Go to the Redirects section in the Staq Panel.
- Click +Add.
- In the popup modal, select the appropriate domain from the Origin Host list.
- For the From field, enter the path without the domain (e.g.,
/about). - In the To field, enter the full URL (e.g.,
https://example.com/about). - Click Save.

Redirecting www to Root Domain or Vice Versa
If your website needs to redirect from www.example.com to example.com (or vice versa):
- Go to the Domains section in the Staq Panel and ensure a www entry exists.
- If it doesn’t exist, add the www record and ensure it points to the correct server IP address.
- Based on setting the domain as Primary, it’ll redirect all entries to the primary domain.
- Based on this, you do not need to setup a redirect.
- The A records must point to the Staq IP address
- Staq will generate an SSL certificate for the non-primary domain

Redirects and Website Deletion
If you delete a website in the Staq Panel, all associated redirects will also be deleted. Ensure that your redirects are backed up if you plan to remove a site.
Conclusion
The Staq Redirects tool provides a secure and efficient way to manage server-side redirects, supporting a variety of scenarios, including query strings and domain-level redirections. If you encounter any issues, contact Staq support for assistance.
Need some help?
We all do sometimes. Please reach out to our support team by dropping us a support ticket. We will respond fast.