301 redirect
JACK LINKERS
jacklinkers at gmail.com
Sat Feb 14 22:40:42 UTC 2015
Ok, thanks !
2015-02-14 23:37 GMT+01:00 Francis Daly <francis at daoine.org>:
> On Sat, Feb 14, 2015 at 11:30:19PM +0100, JACK LINKERS wrote:
>
> Hi there,
>
> > Thanks for your input. What would be the best ways doing it then ?
> > (I forgot to mention there is a large amount of URLs : +/- 20)
>
> A bunch of lines like
>
> location = /oldname.html { return 301 /newname.html; }
>
> (It's the "if" that isn't the good way of implementing it.)
>
> > Is this a good way ? :
>
> No.
>
> I'd say just use "location =".
>
> Good luck with it,
>
> f
> --
> Francis Daly francis at daoine.org
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20150214/1bca0be8/attachment.html>
More information about the nginx
mailing list