worked perfectly.&nbsp; thank you greatly !!<br><br><b><i>"Denis S. Filimonov" &lt;den.lists@gmail.com&gt;</i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> try<br><br>location = /tips.ws {<br>    rewrite .* http://www.newsite.com/tips_and_receipes  permanent;<br>}<br><br>On Sunday 09 March 2008 11:30:05 Eire Angel wrote:<br>&gt; they way it made sense to me,  is using<br>&gt;<br>&gt; if ($host = 'www.oldsite.com/tips.ws' ) {<br>&gt;    rewrite  ^/(.*)$  http://www.newsite.com/tips_and_receipes  permanent;<br>&gt; }<br>&gt;<br>&gt; but does nothing<br>&gt;<br>&gt; i also tries using the if sequence for request_filename.ws<br>&gt; with no luck as well<br>&gt; am i missing something.  like 6th grade .. :)<br>&gt;<br>&gt; Corey Donohoe <atmos@atmos.org> wrote: On 3/8/08, Eire Angel  wrote:<br>&gt; &gt; i have exhausted my resources on this one.  please help<br>&gt; &gt; if your able.<br>&gt;
 &gt;<br>&gt; &gt; i am moving to a new site.  the old site has some<br>&gt; &gt; good standing in google which points to<br>&gt; &gt; oldsite.com/tips.ws<br>&gt; &gt; now, the new site which is in rails<br>&gt; &gt; loads this page at newsite.com/tips_recipes<br>&gt; &gt;<br>&gt; &gt; is there anyway to have nginx<br>&gt; &gt; redirect this and also change its path on the way ?<br>&gt;<br>&gt; The rewrite module does an ok job.<br>&gt;<br>&gt; http://wiki.codemongers.com/NginxHttpRewriteModule<br><br><br><br>-- <br>Denis.<br><br></atmos@atmos.org></blockquote><br>