.htaccess - How can I delete the Index file in htaccess? -
rewriteengine on rewritecond %{script_filename} !-d rewriterule ^([^\.]+)$ $1.html [nc,l]
but when i'm in page menu , click "home" i'm redirecting www.page.com/index.
i want like: www.page.com
you can write rule index.html file
rewriterule ^index.html$ http://%{http_host}/ [r=301,l]
Comments
Post a Comment