Posted by superfedya on May 17, 2013 at 3:41am
Hi,
I need to do 301 redirect all user registration path to custom url.
Like;
/user/register and /user/register*
to
/forum/ucp.php?mode=register
I don't understand Nginx rewrite system very well, so maybe somebody can help me?
Thanks for the great support!

Comments
The post right beneath this
The post right beneath this one has a recent discussion on this exact topic: http://groups.drupal.org/node/298833
location /user/register {return 301 /forum/ucp.php?mode=register
}
Thanks! And for
Thanks! And for /user/register/***something else?
I'm not sure what you're
I'm not sure what you're asking.
Try this
location ^~ /user/register {
return 301 /forum/ucp.php?mode=register;
}
Thanks for the great support,
Thanks for the great support, works perfectly!