سلام
مشکل دارم تو htaceess سرورم Nginx و دایرتک ادمین نصب
ممنون می شم راهنمایی کنید
سایت های که تبدیل می کنند رو دیدم اما مشکل دارند انگار چون بازم کار نمی کنه.

کد:
<IfModule mod_rewrite.c>
    <IfModule mod_negotiation.c>
        Options -MultiViews
    </IfModule>

    RewriteEngine On

    # Prevent access to the /local directory
    RewriteRule ^(local/) - [F,L,NC]

    # Redirect Trailing Slashes...
    RewriteRule ^(.*)/$ /$1 [L,R=301]

    # Handle Front Controller...
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^ index.php [L]
</IfModule>

# nginx configuration
location ~ ^/(local/) {
return 403;
}
location / {
rewrite ^/(.*)/$ /$1 redirect;
if (!-e $request_filename){
rewrite ^(.*)$ /index.php break;
}
}
- - - Updated - - -

بالا باش