Re: Force 302 to 301 redirect

2020-01-11 Thread Francis Daly
On Sat, Jan 11, 2020 at 08:35:02AM -0500, tconlon wrote: Hi there, > Found it, > > if ($page == 'index.php') { > header("Location: ". $toUrl); > > probably need something like this > > // 301 Moved Permanently > header("Location: ",TRUE,301); Good that you have found a straightfor

Re: Force 302 to 301 redirect

2020-01-11 Thread tconlon
Hi, Found it, if ($page == 'index.php') { header("Location: ". $toUrl); probably need something like this https://forum.nginx.org/read.php?2,286700,286708#msg-286708 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/l

Re: Force 302 to 301 redirect

2020-01-11 Thread tconlon
Hi, Digging into the code will get back to you Thanks Posted at Nginx Forum: https://forum.nginx.org/read.php?2,286700,286707#msg-286707 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx