All of the URLs on my site have .html on the end (domain.com/page.html), does anyone know how to change them so they are just like this: domain.com/page/
Yes, you can do this with .htaccess I think. Search the .htaccess sub forum in Site and Server Administration BP
As said, it can be done with mod rewrite and htaccess, here is the forum: http://forums.digitalpoint.com/forumdisplay.php?f=49
damn i was going to say that hehehe.. yeah i found out that you can do it through .htaccess rewrite... But hey i probably should have asked on here.
This is assuming you are using a webserver that supports .htaccess and rewrite. If you are running IIS (Microsofts web server) then it is more difficult to do with .HTML files - something microsoft really need to fix
You do not need URL rewriting to the few who suggested it. It is just a matter of adding this line to .htaccess : AddType application/x-httpd-php .php .html .htm Code (markup): Astaroth, what difficulty? In setting up something like isapi_rewrite?
It's easy on a widows server too - Go into IIS, click on the properties for your website. Under "Documents" check the "Enable Default Document" checkbox and write whatever files you would like in the box.
Or make a folder as domain.com/whatever And put whatever you want in it, as index.html Either that or .htaccess
Huh? Doesn't that just make it so .php, .html, and .htm files parse php? Not what he's asking for? Or could I be wrong?
but then I think you will lose all your trafic. Any link having an .html extension will not be accessible hence forth, right?