Hey men, please have a look inside my .htaccess:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# END WordPress

For Wordpress it really works fine.

But I've got a problem: I've got a directory known as lo, employed for links exchange, is not related to the Wordpress blog. Now, I can not access my lo directory, it redirects me to some wordpress publish. Why?


Does /lo/'s DirectoryIndex indicate /lo/index.php?

If that's the case, and presuming your response to Pekka's real question is "Yes", the issue likely arises from the 4th RewriteRule. A request to /lo/ maps to /lo/index.php, which fits

RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]

...and will get rewritten to index.php inside your site root, the WordPress file. I am unsure what the purpose of this rule is (it will block use of WordPress .php files, however in type of an excellent-general way), so I'm not sure exactly what the best recommendation is perfect for conditioning it, however the following works:

RewriteCond %{REQUEST_URI} !^/lo
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]