"Referring URL" Revisited December 29, 2020, 02:56:29 pm To resurrect a 6 (7?) year old discussion.. https://www.elkarte.net/community/index.php?topic=1832.0 Quote from: Spuds – August 11, 2014, 04:13:04 pmIts something @TE needs to tweak in the site config file, in the server section, along the lines ofCode: [Select]server_name elkarte.net;return 301 $scheme://www.elkarte.net$request_uri;I have just encountered that as well - makes all the difference in the world if the "referring url" is https://siteurl.com vs. https://www.siteurl.com.Is the server_name singular exclusive or can it be configured for either/or? I have a bunch of old guys (and I resemble that remark) who barely know what a bookmark is, much less how to change it if they have the wrong URL listed (and several do). I would much rather have the login handle either case than trying to teach my lazy old dogs "new tricks".
Re: "Referring URL" Revisited Reply #1 – December 29, 2020, 10:40:25 pm Not sure what hosting you are using, but most have a redirect setting of non www to www or something like that in their control panel. That old post was for Nginx which is the webserver we use, and there is a config option to redirect bla.com to www.bla.com
Re: "Referring URL" Revisited Reply #2 – December 30, 2020, 12:13:17 am Quote from: Spuds – December 29, 2020, 10:40:25 pmNot sure what hosting you are using, but most have a redirect setting of non www to www or something like that in their control panel. That old post was for Nginx which is the webserver we use, and there is a config option to redirect bla.com to www.bla.com Aye, thanks for the quick reply, Spuds .... and I have that set... you can get to the forum login page either https://bla.com/forum/ or https://www.bla.com/forum/, but if you use the latter, you get the "Unable to verify referring URL. https://www.bla.com/forum" error when logging in.Change the URL in the address bar to https://bla.com/forum/ and it's all good.I'm hoping there's a way to make EA happy with either url..Never mind, I figured out what you were telling me, I found the server redirect configuration and set a server redirect on that page. No matter how hard I try, I learn something new every day. Thanks muchly..