alldersboy
02-15-2007, 10:54 AM
Hi people.
Does anyone know how i can remove the .htm part of a url?
I use freewebs and i was told by someone a long time ago how to
do it so i know it can be done, but i have forgotten how to do it now!
Thanks in advance for any help.
Arwen
02-15-2007, 11:24 AM
It's only possible if you have a .htaccess file. And I'm afraid freewebs don't allow URL rewriting.
alldersboy
02-15-2007, 02:18 PM
It's only possible if you have a .htaccess file. And I'm afraid freewebs don't allow URL rewriting.
There is a way to do it
You have to make a new folder then add the site you want to remove .htm into it.
There is more to it but i cant remember how to do it now.
I have done it before so i know it can be done.
Arwen
02-15-2007, 02:57 PM
Well, that is not called removing .htm Of course, you can rename your page.htm to index.htm and put it into a folder called page/ and the link to it would be site.com/page/ but that doesn't remove the extension, you visitors will still be able to access site.com/page/index.htm
alldersboy
02-15-2007, 06:36 PM
Well, that is not called removing .htm Of course, you can rename your page.htm to index.htm and put it into a folder called page/ and the link to it would be site.com/page/ but that doesn't remove the extension, you visitors will still be able to access site.com/page/index.htm
OK, im not explaining myself to well, sorry Arwen.
My freewebs address is
http://www.freewebs.com/avengerslg/ (under construction still)
When i make another page, EG :
http://www.freewebs.com/avengerslg/youngvsold.htm
I want to remove the .htm from the youngvsold page so it's just
http://www.freewebs.com/avengerslg/youngvsold
I was shown how to do it a couple of months ago, and it took me a few
attempts to get it right then. Im no expert at this kind of thing
so if you could explain as simple as you can how it's done please.
Arwen
02-16-2007, 09:43 AM
I do understand what you mean and I only know of 2 ways to do that. The first way is very simple - you make a folder named youngvsold, rename your youngvsold.htm page to index.htm and put it in that folder. You can now access freewebs.com/avengerslg/youngvsold. Another way is to rewrite your url and here's (http://www.yourhtmlsource.com/sitemanagement/urlrewriting.html) a good tutorial that shows how to do that. :)
alldersboy
02-16-2007, 11:51 AM
I do understand what you mean and I only know of 2 ways to do that. The first way is very simple - you make a folder named youngvsold, rename your youngvsold.htm page to index.htm and put it in that folder. You can now access freewebs.com/avengerslg/youngvsold. Another way is to rewrite your url and here's (http://www.yourhtmlsource.com/sitemanagement/urlrewriting.html) a good tutorial that shows how to do that. :)
Thanks Arwen, that was how i did it last time,
but forgot to rename my youngvsold page before i moved it into my folder!