Force WWW and SSL

What is the name of the domain?

resourcerepository.net

What is the issue you’re encountering

Forcing SSL works but forcing WWW does not

What steps have you taken to resolve the issue?

I have setup two rules:

  1. A Configuration rule to force all incoming requests to an Automatic HTTPS Rewrite
  2. A Redirect rule for if the incoming Hostname equals resourcerepository.net Then Dynamic redirect to concat(“https://www.resourcerepository.net”, http.request.uri.path) using a 301 and preserving the query string.

Rule 1 works but rule 2 does not.

I’ve tried to clear my cache.

Both resourcerepository.net and www.resourcerepository.net are in DNS-Only mode, so you can’t use rules. DNS-Only really means DNS and nothing else.

1 Like

Thank you! That seems to be the problem. It’s all working now.

2 Likes

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