It is duplicate i know but i am stuck in here , i also tried this link URL rewriting with PHP but i need to ask someone, i am new and [actually couldn't get it] and i couldn't search more because of somethings. the problem is i get 404 ERROR ... so anyone help ?
# BEGIN
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /Folder/
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{HTTP:Accept-Language} ^en [NC]
    RewriteRule ^$ Folder/en/ [L,R=301]
    RewriteCond %{HTTP:Accept-Language} ^de [NC]
    RewriteRule ^$ Folder/de/ [L,R=301]
    RewriteCond %{HTTP:Accept-Language} ^fa [NC]
    RewriteRule ^$ Folder/nl/ [L,R=301]
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-l
    RewriteRule ^(en|de|fa)/?$ index.php?lang=$1 [QSA,NC,L]
</IfModule>
# END
