Printer Friendly Version Print this thread
Email this thread to a friend eMail this thread to a friend
Related Forum Posts
Featured Web Site Template

Hundreds More at Free Site Templates.com!

Web Site Partners
Sponsored Links
Jet City Software
 
Whos Here ?
There are 0 guests and 2 members in the forums right now.
Reflects user activity within the last 5 minutes
Member Message

ramki
Joined: Aug 31, 2006
# Posts: 57

View the profile for ramki Send ramki a private message

Posted: 10/25/2007 09:44 pm
Edit Message Delete Message Reply to this message

Hi friends,

Is it possible to call/convert an html url (www.abc.com/index.html) like this www.abc.com/index (without the extension). How to do that. If your know the procedure please help!. Thanks in advance.




g1smd
Staff
Joined: Jul 28, 2002
# Posts: 10278

View the profile for g1smd Send g1smd a private message

Posted: 10/26/2007 05:06 am
Edit Message Delete Message Reply to this message

Yes. The URL that is indexed is defined by what you have in the links that point to the page. So first, alter the links to call for that URL.

Be aware that URLs and server filepaths are two very different things. There are at least two ways to achieve what you want. Pick one.

When I use what appear to be extensionless URLs, they are actually index files inside folders. The index file filename isn't mentioned in the link. The URL will end with a trailing slash every time. The trailing slash is very important.

The other way is to use the Apache ModRewrite function to examine the initial URL request and then add the .html extension to the end of the requested internal filepath.


You are not permitted to post messages in this forum or topic, because of one or more of the following reasons:
  1. You have not yet logged in, or registered properly as a member
  2. You are a member, but no longer have posting rights.
  3. This is a private forum, for which you do not have permissions.

If you are a recent member, it's possible that you simply have not yet confirmed your account. Please check your email for a message entitled 'JimWorld Forums: Confirm Your Account' and follow the instructions contained within.

If you cannot find this message, click here to Re-Send it.

If you are still experiencing problem, please read the Login Assistance Article for some advice on what may be causing your login not to work properly.

Switch to Advanced Editor and ... Create a New Topic or Reply to this Thread

New posts Forum is locked
© 1995  ·  iWeb, Inc  ·  DBA JimWorld Productions