On Tue, Apr 20, 2010 at 16:43, Nick Weisser <nick@openstream.ch> wrote:
> Hi there,
>
> I'm trying to permanently redirect from various outdated URLs to the
> domain's home page like so:
>
> location /phpshop {
> rewrite ^ http://www.my-domain.com permanent;
> }
>
> which results e.g. in
>
> http://www.my-domain.com/phpshop/?page=shop/flypage&product_id=65
>
> to be rewritten to
>
> http://www.my-domain.com?page=shop/flypage&product_id=65
>
> which kind of makes sense, but I need to strip those parameters (page and
> product_id), too.
from an SEO point of view, you should make sure people get into the
new page of that given product when using it's old URL.... or say good
bye to your pagerank :p
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx