If I have a directory called "dir" with a file called "index.php", is it possible to handle a string in the URL without any variable specifically defined within the url?
Eg. If the user types http://domain.com/dir/hello.world
Is it possible to handle that 'hello.world' from dir/index.php without it being assumed as a file that does not exist?
I'm assuming this is a htaccess thing, I know how to make variables hidden in a url with htaccess (so like /index.php?var=something becomes /var/something) but I don't know how I'd go about doing it so it becomes just /something.