Hi, I have a blog running the latest WordPress 2.5.1. Let's say it,s www.example.com/ Now, under this domain name, I have a subfolder with an application inside: www.example.com/app/index.php How can I edit the .htaccess to make the app's URL search engine friendly? For example: www.example.com/app/run/193/keyword -> www.example.com/app/index.php?action=run&id=193 (keyword is not needed in the script, I put it in the URL for search engine purposes only). ----- My current .htaccess is more or less like this:- # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> ----- Thanks.
Think adding something like this would do a job... RewriteRule ^/app/(.*)/([0-9]+)/?$ /app/index.php?action=$1&id=$2 [QSA,L]
Thanks. But it doesn't do the job... when I browsed the page using the SEO friendly URL, it displays the 404 page from WordPress.