<div dir="ltr">Ok, thanks !</div><div class="gmail_extra"><br><div class="gmail_quote">2015-02-14 23:37 GMT+01:00 Francis Daly <span dir="ltr"><<a href="mailto:francis@daoine.org" target="_blank">francis@daoine.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sat, Feb 14, 2015 at 11:30:19PM +0100, JACK LINKERS wrote:<br>
<br>
Hi there,<br>
<span class=""><br>
> Thanks for your input. What would be the best ways doing it then ?<br>
> (I forgot to mention there is a large amount of URLs : +/- 20)<br>
<br>
</span>A bunch of lines like<br>
<span class=""><br>
location = /oldname.html { return 301 /newname.html; }<br>
<br>
</span>(It's the "if" that isn't the good way of implementing it.)<br>
<span class=""><br>
> Is this a good way ? :<br>
<br>
</span>No.<br>
<br>
I'd say just use "location =".<br>
<br>
Good luck with it,<br>
<div class="HOEnZb"><div class="h5"><br>
f<br>
--<br>
Francis Daly <a href="mailto:francis@daoine.org">francis@daoine.org</a><br>
<br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
</div></div></blockquote></div><br></div>