How to hide the extension of a webpage?
For example
http://WWW.FRJP.CO.NR/INDEX.HTM LOOKS LIKE
http://WWW.FRJP.CO.NR/INDEX ?
How to hide the extension of a webpage?
For example
http://WWW.FRJP.CO.NR/INDEX.HTM LOOKS LIKE
http://WWW.FRJP.CO.NR/INDEX ?
I don't think you can hide the extension of the webpage, becaues evenually it will show up in your url. However, you could always direct the URL to only the directory level, and the server will automatically load the index.html file. For example, typing inCode:http://WWW.FRJP.CO.NR/
would automatically go to:Code:http://WWW.FRJP.CO.NR/
Hope that helps...Code:http://WWW.FRJP.CO.NR/INDEX.HTML
What purpose are you trying to achieve if you hide the webpage extension? If you really want, you could so something with php that parses most of the webpage information so that your web coding is safe..
Last edited by vievie; 08-26-2007 at 12:58 AM.
Code:http://www.phpfreaks.com/tutorials/34/0.php
It May Be Help You!
Ok, I am new to web hosting, but I created a series of cgi scripts that basically mask the page to be viewed.
A quick eg:
You enter the page via "http://WWW.FRJP.CO.NR/"
Automatically your browser takes you to "http://WWW.FRJP.CO.NR/index.html"
There after all links in the page are sent to one cgi script with paramters that tell the script to do certain things.
a link eg: http://WWW.FRJP.CO.NR/script.pl?link=login=12+32+43
the script pulls out everything after the ? "link=login=12+32+43"
The "link" is one of a few commands. The script then calls upon the "link" script and passes it "login=12+32+43"
login is the location of the content of the page and the following is parms(formating, etc...)
All in all the only file being pointed to is the /script.pl.
Therfore all links are hidden and can also have info sent to them for whatever reasons.
When I have finished I will apply a template for coding and decoding so from this "http://WWW.FRJP.CO.NR/script.pl?link=login=12+32+43" i could have this "http://WWW.FRJP.CO.NR/script.pl?5s4f=fdsa2=12+32+43" (example and no acctual relation).
http://dev.x10hosting.com (this has nothing to do with x10hosting)
->All us helpful people here at x10hosting would like to reach our next user groups, "Community Paragon". Please click the+rep icon on the left hand side of a post if that post was helpfull.