I've setup .htaccess file with this: RewriteEngine On Options +FollowSymlinks RewriteRule ^(.*)/$ script.php?u=$1 HTML: I want to be able to access the URL with both: http://domain/something http://domain/something/ So far http://domain/something/ is working but I'm unable to put to work also http://domain/something. Can anyone help? Thanks!
RewriteEngine On Options +FollowSymlinks RewriteRule ^(.*)$ script.php?u=$1 [L] but it'll do every URL on the domain including index page.