Subdomain redirect to the main domain

Hi, how can redirect a subdomain to the main domain so that any URL in the subdomain will redirect to the same URL on the main domain?

For example:
shop.domain.com/product-x
will redirect to
domain.com/product-x

Thanks.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.