Domain redirect: proper instructions

Hi,

I have a domain, properly working: domain.eu

I have a second domain to forward to the first: domain.com

On the second domain, I hava to:

Is that correct?

Looks like it should work to me…

1 Like

Looks pretty all right to me.

Actually one page rule for *domain.com/* is sufficient.

3 Likes

Thank you very much, I’ll wait for DNS propagation to check it all.

1 Like

If you post the domain names we can check.

Hi,

With only one Page Rule

(*domain.com/* 301 https://www.domain.eu/$1)

it forwarded domain.com well, but forwarded www.domain.com to https://www.domain.eu/www (adding www to the url).
So I had to split the page rules.

One rule should still work if you use $2.

Ok, shame on me, so first * would go into $1 (that explains the added www), the second would go into $2.

Thank you very much.

No worries and yes, your observation is correct.

This topic was automatically closed after 14 days. New replies are no longer allowed.