expressionengine - .htaccess issue -


I am using the ".htaccess file" below so that any "url." So if domain.com/news is typed It is then redirecting to domain.com/en/news - it works fine.

This rule should not be applied to some folders like Images, SDF and Mipup. Works well for me, so when I use domain.com/swf I see a list of directory contents and "N" does not add.

However, this "myphp" folder (this is a phpmyadmin installation). Generally it will load myphp / index.php, but the rule does not matter by adding the file name. The page only loads but nothing happens Does anyone know?

  RewriteEngine On RewriteBase / #for Redirected Language Specific Page RewriteCond $ 1! ^ (N | fr | nl) $ #dont Applying Rules to Property Folders RewriteCond $ 1! ^ Images $ RewriteCond $ 1! ^ Swf $ RewriteCond $ 1! ^ Myphp $ # Previously on the predefined n page If a language is not present in the absolute URI, RewriteRule ^ ([^ /] +) /.* / en / $ 0 [L, R = 301] #remove index.php Revoked code% {REQUEST_FILENAME}! -f rewrite code% {REQUEST_FILENAME}! -d Rewrite $ 1! \. (Gif | jp? G | png) $ [nc] revised rule ^ (. *) $ / Index .php? $ 1 [L]  

I think that you are running into problems in the URL What's more, when trying to match the end of the line ($) after the folder name, what happens if you close the dollar sign with your folder names?


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -