AddWebFwd
AddWebFwd offers forwarding as unmasked permanent 301 redirect (RD), masked frame redirect (MRD) and redirect to static content (SELF). The static content can be used for minisites. Keeping requested URL paths and parameters and forwarding them to the target is optionally possible.
Possible Gateways
The command AddWebFwd is available via the following gateways:
Required Parameters
The following parameters are standard parameters for this command.
Command
COMMAND = AddWebFwd
SOURCE = [TEXT]
TARGET = [TEXT]
TYPE = RD | MRD | SELF
CLTRID = [TEXT]
Response
code = [INT]
description = [TEXT]
property[CLTRID][0] = [TEXT]
property[SVTRID][0] = [TEXT]
Attributes
SOURCE | Zone to be forwarded |
TARGET | Target of the forwarding |
TYPE | Type of forward: RD 301 redirect | MRD frame redirect | SELF static content; When TYPE is SELF it can not be used with TARGET |
CLTRID | Unique identifier for this request, must be changed with every request, the default is auto-generated (optional) |
CLTRID | The transaction - ID given in the request where this response is the answer for; Will only be returned if a CLTRID was given in the request |
SVTRID | A unique ID for this request generated by the server; Will only be returned if a CLTRID was given in the request |
Optional
The following parameters are optional for this command.
Command
COMMAND = AddWebFwd
SOURCE = somedomain.tld
TARGET = theotherdomain.tld
TYPE = RD | MRD | SELF
KEEPURIPATH = 0 | 1
CONTENT0 = <html>
CONTENT1 = <head> ... </head>
CONTENT2 = <body> ... </body>
CONTENT3 = </html>
CLTRID = [TEXT]
Response
code = [INT]
description = [TEXT]
property[CLTRID][0] = [TEXT]
property[SVTRID][0] = [TEXT]
Attributes
TYPE | Type of forward: RD 301 redirect | MRD frame redirect | SELF static content; When TYPE is SELF it can not be used with TARGET |
KEEPURIPATH | Keep URI path while redirecting to forwarding target. |
CONTENTX | Up to 2048 lines of static HTML code. Can only be used when TYPE is SELF |