3 answers
The easiest option is to create a script http://test1.ru/contacts/index.php. Then he will work on request http://test1.ru/contacts/? If you want everything to remain as it is, dig in the direction of mod_rewrite . This module at the web server level can do the conversion of a virtual URI to a real one. A configurable via .htaccess
- You can tell the script, I unfortunately do not know js - iwowa
- The solution to the issue of JavaScript has nothing to do. Everything is done on the server side. If the contacts.php script is renamed to index.php and transferred to the contacts / directory (on the server), it will be answered at test1.ru/contacts . And the parameters, respectively, can be set as follows test1.ru/contacts/?a=1&b=2 . - KiTE
|
Use search. Here is a similar topic .
|
Enable Options MultiViews if you are using an Apache server.
|