<div dir="ltr"><font face="georgia,serif">I tried it but I get the error "</font><font face="georgia, serif">nginx: [emerg] "set" directive is not allowed here" (as you said I put set and map at http level and rewrite at server level).</font></div>
<div class="gmail_extra"><br><br><div class="gmail_quote">2013/1/19 OndanomalA <span dir="ltr"><<a href="mailto:ondanomala_albertelli@yahoo.it" target="_blank">ondanomala_albertelli@yahoo.it</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><font face="georgia,serif">Thanks Antonio for the reply! :)<br><br>The fact is that I don't care so much about these redirects, I just want 4/5 pages of the old permalink structure to be correctly redirected to the new pages. This 4 page are (for example):<br>
/?option=com_content&view=category&id=40&Itemid=106<br>/?option=com_content&view=article&id=164&Itemid=139<br></font><div><font face="georgia,serif">/?option=com_content&view=article&id=288&Itemid=90<br>
/?option=com_content&view=category&layout=blog&id=1&Itemid=50<br><br>All should be redirected to 4 different pages. Is there a way - without looking at parameters (I just need to redirect THOSE 4/5 pages, not the whole perm structure) - to tell to </font><font face="georgia, serif">singly redirect each to the corresponding new page (one line rewrite for each)?<br>
<br>For example:<br></font><span style="font-family:georgia,serif">/?option=com_content&view=category&id=40&Itemid=106 -> /blahblah/page1</span></div><div><span style="font-family:georgia,serif">/?option=com_content&view=article&id=164&Itemid=139</span><span style="font-family:georgia,serif"> -> /blahblah/page2</span><span style="font-family:georgia,serif"><br>
<br></span></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">2013/1/19 OndanomalA <span dir="ltr"><<a href="mailto:ondanomala_albertelli@yahoo.it" target="_blank">ondanomala_albertelli@yahoo.it</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><font face="georgia,serif"><div>I moved my website from Joomla to WordPress.. I'd like to redirect <a href="http://www.website.com/?option=com_content&view=article&id=164&Itemid=139" target="_blank">www.website.com/?option=com_content&view=article&id=164&Itemid=139</a> to <a href="http://www.website.com/listituto/contatti/" target="_blank">www.website.com/listituto/contatti/</a> (so, same domain).</div>
<div><br></div><div>I tried with this line (both within the / location and outside it):</div><div><br></div><div> rewrite /?option=com_content&view=article&id=164&Itemid=139 /listituto/contatti/ permanent;</div>
<div><br></div><div>... with no luck. What am I doing wrong?</div></font></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>