Feel me when I try to learn more about the rules of .htaccess redirection - I am a guy user by profession, and I do my best to improve my programming languages ββother than HTML / CSS / PHP, etc.
So, I have an index.php file containing a menu - quite simple. If Javascript is enabled on the user's computer, forms are displayed under the menu using simple jQuery goodies, with each link having a "return false"; attached.
What I'm trying to do is make the page accessible with JS turned off, so instead of redirecting the user to another page, I would like to use the POST or GET variables from each link to show different forms. in the same index.php file - but the URL reflects the menu selection
Here is an example using the menu items with the name - Home, About, Form1 and Form2:
When you enable JS, clicking on the above example buttons simply moves the form or contains data on the page.
If JS is disabled, if the user clicks the "About" link, I would like to rewrite the URL http://domain.com/about - but save the user on the index.php page (since this is the only page) and you can use the POST variable or GET to show the use of PHP.
, http://domain.com/index.php?page=about
http://domain.com/about URL, "GET" index.php.
, .. , , , , , , !