Is there a way to rewrite my urls from:
without using mod_rewrite and .htaccess?
I dont have the permission to turn on mod_rewrite and our organisation doesnt want it either. Is there a way to realise this with php only?
Thanks in advance
As far as I’m aware there is no other possible way to achieve this without mod_rewrite been enabled, you could use a very hacky folder structure that emulates it but that would be a nightmare to maintain.
You could rename the folders to what you want and then just hard code the GET parameters for each individual page. It would be messy if its a large site but if its not too big it shouldnt be a problem.
You could use FallbackResource instead of mod_rewrite.