Welcome! Log In Create A New Profile

Advanced

Re: Force 302 to 301 redirect

Francis Daly
January 10, 2020 06:04PM
On Fri, Jan 10, 2020 at 03:17:21PM -0500, tconlon wrote:

Hi there,

> Absolutely..and thanks
>
> Running this on Forge / Digital Ocean

I think you indicated that your index.php takes id=235 and decides that
it will return a redirect to https://myurl/location/newyorkcity

Does *that* php code say "send a 301" or "send a 302"?

Can you change it to say "send a 301", if you want a 301?

f
--
Francis Daly francis@daoine.org
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Force 302 to 301 redirect

tconlon January 10, 2020 03:03PM

Re: Force 302 to 301 redirect

cooley.josh@gmail.com January 10, 2020 03:11PM

Re: Force 302 to 301 redirect

tconlon January 10, 2020 03:17PM

Re: Force 302 to 301 redirect

Francis Daly January 10, 2020 06:04PM

Re: Force 302 to 301 redirect

tconlon January 11, 2020 08:29AM

Re: Force 302 to 301 redirect

tconlon January 11, 2020 08:35AM

Re: Force 302 to 301 redirect

Francis Daly January 11, 2020 09:20AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 257
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready