You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current format of the .htaccess file requires all link references to remove .html. I.e. '../html/index.html' should be '../html/index'. Is there a way to remove the .html TLD without changing the references?
The current format of the .htaccess file requires all link references to remove .html. I.e. '../html/index.html' should be '../html/index'. Is there a way to remove the .html TLD without changing the references?
`RewriteEngine on
RewriteCond %{THE_REQUEST} /html/([^.]+).html [NC]
RewriteRule ^ /%1 [NC,L,R]
RewriteCond %{REQUEST_FILENAME}.html -f
RewriteRule ^ %{REQUEST_URI}.html [NC,L]`
https://stackoverflow.com/questions/5730092/how-to-remove-html-from-url
The text was updated successfully, but these errors were encountered: