Removing .htm in url
Started by
Donarudo
, Sep 08 2007 11:35 AM
#1
Posted 08 September 2007 - 11:35 AM
#2
Posted 08 September 2007 - 12:27 PM
Other then using frames (ugh), you might try:
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.
Ron
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.
Ron
#3
Posted 08 September 2007 - 12:39 PM
The page is gallery.htm do i replace all those index.htm's with that?
#4
Posted 08 September 2007 - 01:04 PM
Just try it with one as I'm not even sure this will work the way you want it to.
Ron
Ron
#5
Posted 08 September 2007 - 01:08 PM
I mean with all honesty is it even worth a try.. seem s like a lot of work just to get rid of that stupid .htm
#6
Posted 08 September 2007 - 01:50 PM
I don't think it's a lot of work, at least not the .htaccess way, but I also don't think it's worth trying to do what you're trying to do.
Ron
Ron
#7
Posted 08 September 2007 - 02:17 PM
I'll just setup a subdomain and get it over with. Thanks
Similar Topics
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users