URL Redirect (also referred to as URL Forwarding) is a technique which is used to redirect your domain's visitors to a different URL. You can forward your domain name to any website, webpage, etc. which is available online.
Redirects use status codes defined within the HTTP protocol.
Based on this, URL forwarding may be of the following types:
301 (permanent),
302 (temporary) URL Redirects, and
URL Frame (masked redirect).
Read more about these redirect types.
If you would like to set the
wildcard subdomain that lets you forward all subdomains that have not been created to a page on your website or to any other page on the Web, you may refer to
this tutorial.
This type of redirect will also work if someone enters a non-existent or mistyped subdomain. For WordPress sites, using redirect plugins is a much simpler way of implementing any kind of redirect onto your site. You won’t have to use an FTP client at all or access the backend. Check out this article on our EasyWP blog for an in-depth guide to
redirecting in WordPress.