user.conf syntax query re www to non www redirect #1678
Unanswered
Pezzab
asked this question in
Support Requests
Replies: 3 comments
-
Have a look in
Then restart your site. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I used this command to solve it ee site update example.com --add-alias-domains='www.example.com' |
Beta Was this translation helpful? Give feedback.
0 replies
-
Awesome.
On Wed, 30 Mar 2022, at 5:30 PM, tmsbrasil wrote:
I used this command to solve it *ee site update example.com --add-alias-domains='www.example.com'*
—
Reply to this email directly, view it on GitHub <#1678 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ADZJBR3VI5DIHPPXTQRMJYTVCR6UFANCNFSM5QI44QOA>.
You are receiving this because you commented.Message ID: ***@***.***>
Paul Scollon
altFIRE Technologies - Professional Website Design and Hosting Services for businesses in County Louth
Web: https://www.altfire.ie | Social: @altfire
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'm attemping to redirect a www.domain to non www.
So far the advice I have found suggests putting it in user.conf.
If I wrap the instruction in a server directive and reload nginx - using
ee site restart site.com --nginx
I get an error.If I leave out the server directive there is no error but the redirect doesn't work:
The redirect should work instantly if configured correctly yes?
Beta Was this translation helpful? Give feedback.
All reactions