Removing .htm in url
Posted 08 September 2007 - 11:35 AM
Posted 08 September 2007 - 12:27 PM
Open notepad and add this line to it:
DirectoryIndex index.html index.htm
Now add the page you want viewed when visitors visit http://www.yoursite.com . Use directory.html as an example.
DirectoryIndex directory.html index.html index.htm
This is basically the order of pages visitors will see. If directory.html doesn't exist, they'll go to index.html and on down the list.
Save it as htaccess.txt.
Upload it to the root directory of your domain. In FTP, rename it to .htaccess and you're done. Post back how it goes. Some FTPs will upload the file named .htaccess, but changing the name after upload is just as easy to do.
Posted 08 September 2007 - 12:39 PM
Posted 08 September 2007 - 01:04 PM
Posted 08 September 2007 - 01:08 PM
Posted 08 September 2007 - 01:50 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users