Printer Friendly Version
Email this thread to a friend
|
Featured Web Site Template |
|
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
|
Posted: 10/25/2007 09:44 pm
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
|
Posted: 10/26/2007 05:06 am
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:
- You have not yet logged in, or registered properly as a member
- You are a member, but no longer have posting rights.
- 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
|
|