I have wrote an .htaccess file:
RewriteEngine On
RewriteRule ^test test.html [NC,L]
But I don't get why if I go (for example) to "example.com/testabc" it leads me to test.html anyway. How do I turn this off? I know it's a simple thing but I can't find the solutions...
Look at your expression:
^test
https://regex101.com/ will translate it into English:
^ asserts position at start of a line
test matches the characters test literally (case sensitive)
So you have a "starts with" but no "ends with"
^test$
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다