My website is completely done in HTML for example at: example.com
When I go to the "Contact" page the address looks like this:
example.com/contact.html
I would like two scenario that will direct to the address with a "/" suffix:
Currently I only have number 1 in .htaccess:
#example.com/contact/ will display the contents of example.com/contact.html
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}.html -f
RewriteRule ^([^/]+)/$ $1.html [L,QSA]
#301 from example.com/contact.html to example.com/contact/
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /.*\.html\ HTTP/
RewriteRule ^(.*)\.html$ /$1/ [R=301,L]
How to add a second scenario?