Hi,
My rewrite works, but I want this to be a permanent redirect. How can I
achieve
this please ?
Thank you
rewrite ^/forums/archive/index.php/t-([0-9]+).html$
/forums/showthread.php?t=$1
last;
Hi,
My rewrite works, but I want this to be a permanent redirect. How can I
achieve
this please ?
Thank you
rewrite ^/forums/archive/index.php/t-([0-9]+).html$
/forums/showthread.php?t=$1
last;
quoting the wiki http://wiki.codemongers.com/NginxHttpRewriteModule :
Flags can be any of the following:
…
permanent - returns permanent redirect with code 301
permanent is the answer
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs