Conversation
Notices
-
Embed this notice
clairebere (clairebere@poa.st)'s status on Friday, 16-Sep-2022 23:29:35 JST clairebere @alex What is the best method to force a www url to redirect to non-www on a Soapbox instance? -
Embed this notice
Alex Gleason (alex@gleasonator.com)'s status on Friday, 16-Sep-2022 23:29:35 JST Alex Gleason You need to make sure you have DNS setup for www and have it pointing to the same server. It can be an A record pointing to the same IP. Then you’ll want to edit the Nginx file and add a location block for it: https://www.hostinger.com/tutorials/nginx-redirect/
server { server_name www.soapbox.tld; return 301 $scheme://soapbox.tld$request_uri; } -
Embed this notice
clairebere (clairebere@poa.st)'s status on Saturday, 17-Sep-2022 00:01:18 JST clairebere @alex I do have the DNS set up already, I will give this a shot once I can get to my PC this morning. Alex Gleason likes this.
-
Embed this notice