I don't seem to be able to do the following in my
I have my script in a sub-folder inside my root directory, let's call it "ecommerce", and inside that sub-folder I have my
.htaccess. I Am trying to make going to a certain sub-folder inside "ecommerce" load a certain page within the 2nd sub-folder, let's called it "shirts".
Here is my code:
RewriteEngine On RewriteRule ^ecommerce/shirts/$ /ecommerce/shirts/shirts.php
Here are the address/locations of the the files and folders:
What am trying to do is, if I open
I'll get access to my
shirts.php inside, instead of the folder directory.
Ofc I made sure that I have mod-writing enabled on my Apache server.
Thanks in advance for you help.