Hi
I have the following redirect working for a wordpress install:
[code]
rewrite ^/([^/]+)/product/([^/]+)/?$ http://$host/$1/index.php/product?prodname=$2 redirect;
[/code]
The 'obvious' transformation that I have tried is:
[code]
rewrite ^/([^/]+)/product/([^/]+)/?$ /$1/index.php/product?prodname=$2 last;
[/code]
But this results in a WP 404 page.
What nginx-fu am I missing?