HI, am looking for way to hide .html : ie : www.mike.com/fun.html to be www.mike.com/fun/ if you know a method "WORKING ONE" will you share it ... it will be great if it will run on .htaccess Thanks
Just make a directory called fun. And put a file called index.html in the fun folder. So: www.site.com/fun/index.html Code (markup): Will look like this in a browser: www.site.com/fun/ Code (markup):
Put this in ur .htaccess Options +FollowSymLinks RewriteEngine on RewriteRule fun/$ /fun.html Code (markup):
make a folder in ur root directroy with name Fun Eg:- www.mike.com/fun/ and put ur webpage as index.html in Fun folder and just run www.mike.com/fun it u would able to open this page without extention
You want to do the above, this is the easiest and quickest way. As mentioned make a directory called fun and place the index file inside it, that way when you go to the URL www.site.com/fun it will load the index page