htaccess rewrite different folder url, two index files
- by Andrew
I've been searching for awhile now and haven't found anything that comes close to what I'm trying to accomplish.
Right now my URL's look like this:
www.website.com/something
which are using the root folder /index.php
Now I have created plugins within folders:
/plugins/PLUGINNAME/index.php
I want to be able to have URLs like:
www.website.com/plugins/PLUGINNAME/anything/iwant/here
which are all using /plugins/PLUGINNAME/index.php and not the root directory index.php.
Currently www.website.com/plugins/PLUGINNAME/ works, but anything after /PLUGINNAME/xxx defaults to the /index.php.