CentralNic Reseller Homepage
CentralNic Reseller Homepage

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

Response

code                = [INT]
description         = [TEXT]
property[CLTRID][0] = [TEXT]
property[SVTRID][0] = [TEXT]

Attributes

SOURCEZone to be forwarded
TARGETTarget of the forwarding. UTF8 and emojis are supported.
TYPEType of forward: RD 301 redirect | MRD frame redirect | SELF static content; When TYPE is SELF it can not be used with TARGET.

Optional

The following parameters are optional for this command.

Command

KEEPURIPATH = 0 | 1
CONTENT0 = <html>
CONTENT1 = <head> ... </head>
CONTENT2 = <body> ... </body>
CONTENT3 = </html>
CLTRID  = [TEXT]
HTTPS   = 1

Response

code                = [INT]
description         = [TEXT]
property[CLTRID][0] = [TEXT]
property[SVTRID][0] = [TEXT]

Attributes

KEEPURIPATHKeep URI path while redirecting to forwarding target.
CONTENTXUp to 2048 lines of static HTML code. Can only be used when TYPE is SELF.
CLTRIDThe 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.
SVTRIDA unique ID for this request generated by the server; Will only be returned if a CLTRID was given in the request.
HTTPSEnable HTTPS web forwarding.

We domains
-