Hello.<br><br>I have a little problem with rewite rule for Pretty URL Mod for SMF.<br><br>first part is easy:<br><br>RewriteRule ^([-_!~*&#39;()$a-zA-Z0-9]+)/?$ ./index.php?pretty;board=$1.0 [L,QSA]<br>RewriteRule ^([-_!~*&#39;()$a-zA-Z0-9]+)/([0-9]*)/?$ ./index.php?pretty;board=$1.$2 [L,QSA]<br>
                                                 |<br>                                                \/<br>rewrite ^/([-_!~*&#39;()$a-zA-Z0-9]+)/[0-9]?/?$ /index.php?pretty%3Bboard=$1.0 last;<br>rewrite ^/([-_!~*&#39;()$a-zA-Z0-9]+)/([0-9]*)/[0-9]?/?$ /index.php?pretty%3Bboard=$1.$2 last;<br>
<br>The problem start here, .htaccess rewrite rule:<br><br>RewriteRule ^profile/([^/]+)/?$ ./index.php?pretty;action=profile;user=$1 [L,QSA]<br>                                                 |<br>                                                \/<br>
rewrite ^/profile/([^/]+)/?$ /index.php?pretty;action=profile;user=$1 last;<br><br>but this give me error while testing configuration:<br><br>unknown directive &quot;action=profile&quot; in /usr/local/nginx/conf/site:67<br>
<br>Any idea? Anyone can help me with that one?<br><br>-- <br> Best Regards<br>Grzegorz Sieńko<br>