Help with Redirect Rules for Google Sites Website

What is the name of the domain?

example.com

What is the issue you’re encountering

Unable to get Redirect Rule to work

What steps have you taken to resolve the issue?

We are using Google Sites. We have set up Cloudflare, and we can access the website.

We want to redirect visitors requesting the /user/* page to the /resources/ page.

We have referred to this page:

When incoming requests match:
Field: URI Path
Operator: equals
Value: /user/

Then:
Type: Static
URL: /resources/
Status code: 301
Preserve query string: NOT enabled

  1. So it did not work for us. We got a 404 error.
  2. For the “operator”, we have also tried “starts with” and “contains”. They did not work too (404 too).
  3. We have tried Page Rules, and that did not work too (404 too).

Did we do something fundamentally erroneous?

Is the domain set to Proxied (:orange:) or DNS Only (:grey:)?

The domain has to be Proxied before Cloudflare can receive the initual request and do the redirection.

But if I rememeber correctly, Google Sites requires a direct connection (ie DNS Only)… at least during the initial setup.

The A record is Proxied (:orange:).

The CNAME is DNS Only (:grey:).

Do we have to make changes? Thank you.

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