How do i write a script / code that redirects all traffic expect to a file / website instead of one directory. For example if you type domain.com/anything it will go to the homepage, but when typing domain.com/specialdirectory it will send you to for example to login page.
Asked
Active
Viewed 8 times
0
-
Please see https://stackoverflow.com/questions/20563772/reference-mod-rewrite-url-rewriting-and-pretty-links-explained – Alexander Dobernig Jan 26 '21 at 09:52