By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,493 Members | 1,920 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,493 IT Pros & Developers. It's quick & easy.

How can we make a webpage without extension....?

deephill
P: 37
Hi..
I need one clarification.
How can we make a webpage without extension....?

Ex:
Normal page is http://www.websitename.com/partners/info.html

I dont wnt html/php/any extension. like
http://www.websitename.com/partners/info

is it possible???
Thank you
Mar 22 '07 #1
Share this Question
Share on Google+
6 Replies


drhowarddrfine
Expert 5K+
P: 7,435
This has to be set up on the server side. If your server "serves" the page as text/html, which it probably does, then the browser will not care about the extension. Also, when someone clicks on a link that doesn't have an extension, your server must recognize what to do with that. I don't use Apache but, in my server, one simple line makes everything without an extension go to a script.

To see how to do this in your server, if it is Apache, go to the Apache board and ask there.
Mar 22 '07 #2

Expert 100+
P: 1,892
Hi..
I need one clarification.
How can we make a webpage without extension....?

Ex:
Normal page is http://www.websitename.com/partners/info.html

I dont wnt html/php/any extension. like
http://www.websitename.com/partners/info

is it possible???
Thank you
Just curious why you would want to do this?
Mar 22 '07 #3

drhowarddrfine
Expert 5K+
P: 7,435
It adds a little bit of security by hiding how the pages are created. so if it ends in .php, that helps a cracker know the page was generated in php.
Mar 22 '07 #4

deephill
P: 37
hi u r correct drhowarddrfine
anyway tqs for evrybody. :-)
Mar 22 '07 #5

P: 6
hmm it looks like on an apache server this would cause extra processing power..
Sep 13 '08 #6

100+
P: 125
As a user I don't like links that don't look normal, thats my opinion on this subject.
Sep 15 '08 #7

Post your reply

Sign in to post your reply or Sign up for a free account.