Directing apex and shop subdomain to www

Hi there,

We have a single domain in our Cloudflare account, let's call this company.co.uk.

I need some advice for the following two scenarios:

**Redirect apex to www**
We need any traffic which goes to the apex domain (`http://company.co.uk`, `https://company.co.uk`, `company.co.uk`) to go to `https://www.company.co.uk`. This should retain any child URLs (e.g. `company.co.uk/my-url` would go to `https://www.company.co.uk/my-url`).

**Redirect shop subdomain to www**
We have a CNAME record for our shop subdomain. We need any traffic which goes to the shop subdomain (`http://shop.company.co.uk`) to go to `https://www.company.co.uk`. This should retain any child URLs (e.g. `https://shop.company.co.uk/my-url` would go to `https://www.company.co.uk/my-url`).

Thanks in advance for your assistance!

Hi,

Examples 1 and 2 should point you in the right direction:

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