putting stupid search engine urls back

Jim Ohlstein jim at ohlste.in
Sun Aug 30 19:57:40 MSD 2009


AMP Admin wrote:
> I ended up getting it to work with just the following line.  No location or
> anything.
>
> rewrite ^.*-t([0-9]+).html$ /showthread.php?t=$1 last;
>   

You might want to make that "last" into a "permanent".

That way a 301 is returned and you retain search engine ranking for the 
page.

> thanks everyone for your help!
>
>
>   






More information about the nginx mailing list