Let's say I have a file named "a.html". So, the URL for this file will be "http://www.myname.com/a.html". But, when I type "http://www.myname.com/index.html?page=a", it doesn't come to the "a.html" file. Instead, it will come to the "index.html". May I know how to fix this error?
How would index.html know you wanted to redirect to a.html? You would have to have a server-side page, like index.php, then in that redirect to the correct page. Have you got any server-side scripting languages? PHP, ASP, Perl etc?
You need to know that this isn't an error at all.
Anything onwards from the '?' is ignored by the browser and used by whatever code you're using.
I refer to Rick Bull's reply.My server only supports PERL language. May I know what do you mean by server-side scripting languages? I hope you can help me.
Server side scripting is where all the work is done on the server before sending it to the user/browser.
Client side is when the work is done in the users browser.
Server side - PHP
What is it exactly you are wanting to do?
Yeah, Perl is a server-side scripting language, and you should be able to do something similar to what you want. I'd post in the CGI forum if I were you.