Tag Info

Hot answers tagged

1

^/author/(*)$ means that it starts with /author/. The URLs you want to rewrite don't start with /author/. You need something like this: rewrite ^/.*/author/(.*)$ http://example.com/profile/$1 last; But I think this is better and probably more robust: rewrite /author/([^/]+)/?$ http://example.com/profile/$1 last;



Only top voted, non community-wiki answers of a minimum length are eligible