So. I've set up an htaccess script but a few things i'm uncertain of.
That's fine as I can do.
www.site.com/whatever
and that's the same as
www.site.com/index.php?url=whatever
But there doesn't seem to be a way to do it without and with trailing slashes or am I wrong?
Code:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]*)/$ index.php?url=$1
That's fine as I can do.
www.site.com/whatever
and that's the same as
www.site.com/index.php?url=whatever
But there doesn't seem to be a way to do it without and with trailing slashes or am I wrong?