<div dir="ltr">Check this out: <a href="http://nginx.org/en/docs/http/ngx_http_rewrite_module.html#rewrite">http://nginx.org/en/docs/http/ngx_http_rewrite_module.html#rewrite</a><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, May 24, 2015 at 3:17 AM, escavern <span dir="ltr"><<a href="mailto:nginx-forum@nginx.us" target="_blank">nginx-forum@nginx.us</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi guys, i really need some help here. I plan to move my forum from the root<br>
domain to a subfolder named "/forum"<br>
<br>
I need to rewrite from:<br>
<a href="http://www.mywebsite.com/showthread.php?t=123456" target="_blank">www.mywebsite.com/showthread.php?t=123456</a><br>
<br>
To<br>
<br>
<a href="http://www.mywebsite.com/forum/showthread.php?t=123456" target="_blank">www.mywebsite.com/forum/showthread.php?t=123456</a><br>
<br>
I hope you guys can help me to find out the rewrite rules.<br>
Thank you!<br>
<br>
Posted at Nginx Forum: <a href="http://forum.nginx.org/read.php?2,259077,259077#msg-259077" target="_blank">http://forum.nginx.org/read.php?2,259077,259077#msg-259077</a><br>
<br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
</blockquote></div><br></div>