My website has several files and folders:
mywebsite.com/index.php
mywebsite.com/files/...
Our users asked me if it would be possible to create url alias like this:
mywebsite.com/thisalias -> mywebsite.com/index.php?var=thisalias
With other words: if the folder/file “thisalias” doesn’t exist, it should redirect. I have tried several code samples from StackOverflow but for some reason it didn’t work on my host. Any suggestions? I’m not really good with .htaccess coding.
I believe this is what you are looking for.