RewriteEngine on Redirect 301 /bookmarks https://book.knah-tsaeb.org Redirect 301 /gallery https://img.knah-tsaeb.org RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?id=$1 [QSA,L]