I think that here is an incompatibility that doesn't allows me to run urls with the last rule. After I installed wordpress the other rules appeared and now wordpress returns 404 page when trying to run the last rule. Can you help me? RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] RewriteRule ^myfolder([^/\.]+)/$ /folder/index.php?fb_app_id=$1 [NC]
Maybe try this way: # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] RewriteRule ^myfolder([^/\.]+)/$ /folder/index.php?fb_app_id=$1 [NC][/FONT][/COLOR] </IfModule> # END WordPress Code (markup): Hope it works.