Lets say that I have a file called “somefile.php”.
When I link to that file with a added slash like this: “somefile.php/somethingwhatever” I still get somefile.php. this is good, this is what I want.
The problem is that now that I have removed the .php using Rewrite in .htacess, this doesn’t work with info after a slash. Of course, just typing “somefile” instead of “somefile.php” will now work after I added Rewrite to .htacess. But I want it to work with the extra info after the slash as well.
this link will work: “somefile.php/somethingwhatever”
this will not work, but this is what I want: “somefile/somethingwhatever”
Will it get mixed up and think it should look for a folder? Or is there something I can do to fix this?
I could just create a empty foldercategory for each category that I have and then put an index file in each and everyone of them. But it feels like it should be an easier way to do this just from one source.
And I dont want to use GET-method to do something similar. I want the slashes
Not now either. But you mentioned that I have to make a htaccess file for each category if we can get this to work. If so, there is no big difference between the option where I fix the htacess file or if I make a folder for each category and add an index file to each folder. Right?
I’m open to other solutions as well, if you know any.