<IfModule mod_rewrite.c>
RewriteEngine On
#RewriteBase /wordpress/
#RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ([0-9a-zA-Z.~!@%*+]+)$ url.php?id=$1 [L]

</IfModule>