How can I send parameters to a sub-index page?
- by sirius
Hello.
I have a homepage, for example: www.example.com.
There is a url like this:
www.example.com/subdirectory/page.php?var1=A&var2=B
It's a long url, so I changed it like this:
www.example.com/subdirectory/page/A/B
as well as I config the .htaccess file:
<Files page>
ForceType application/x-httpd-php
</Files>
However, I assume it's also quite long. If the "page.php" change to "index.php", the "page" seems to disappear, just like this:
www.example.com/subdirectory/A/B
But I don't know how to achieve.
Is omitted 'page' possible? How can I just do it?
Thanks for your help.