I’ve a .htaccess in root directory of a domain. I’ve code below in this .htaccess file:
DirectorySlash Off
When the user accesses to any directory URL in this domain, I hope server can always forever show contents in /index.html with HTTP status code 200. This /index.html file is located in root directory. Please do not let server redirect the user to the file /index.html.
How can I achieve this by editing .htaccess file? Thank you.
Try this :