Very basic rewrite-rule question

GameOne

New Member
I have this url:\[code\] http://www.mydomain.com/index.html\[/code\]And want a rule to rewrite the above into this:\[code\] http://www.mydomain.com\[/code\]In other words, remove the index.html part of the code...Something like this maybe:\[code\] RewriteRule ^$ index.html [NC]\[/code\]ThanksUPDATE:When you type www.domain.com into the browser, offcourse index.html is opened.But when you click on "home" on the menu on my website, the entire full url is displayed, which I want to avoid. So when hitting "home" www.domain.com/index.html is shown... But not when entering www.domain.com in the adress bar, then only that will show, but index.html comes up anyways.So yes, I need this:\[code\]www.domain.com/\[/code\]Not this:\[code\]www.domain.com/index.html\[/code\]Thanks
 
Back
Top