.htaccess - RewriteRule for removing the ".html" extension gives "Internal Server Error" -
i have .htaccess file setup in webhosting , looks (i’m trying remove .html part of url):
rewriteengine on rewritecond %{request_filename} !-f rewriterule ^([^\.]+)$ $1.html [nc,l]
nothing works, no matter code use doesn't work, gives error looks :
internal server error
the server encountered internal error or misconfiguration , unable complete request.
please contact server administrator, webmaster@(mywebsitehere.com) , inform them of time error occurred, , might have done may have caused error.
more information error may available in server error log.
additionally, 500 internal server error error encountered while trying use errordocument handle request.
i have emailed web hosting service no good, please help. missing huge?
Comments
Post a Comment