title: Form isn't get submitted when i put the code to hide .php in .htaccess file
body: <p>I have put the code to hide .php from the url. For example, it was before <a href="http://www.abc.com/service.php" rel="nofollow noreferrer">www.abc.com/service.php</a>, After putting the code in .htaccess file, it become <a href="http://www.abc.com/service" rel="nofollow noreferrer">www.abc.com/service</a></p>
  <p>But with that, my form aren't get submitting. Like when i try to login, my login form do nothing. When i remove the code in .htaccess, then my login form works.</p>
  <p>My form code is like this</p>
  <pre><code>&lt;form method=&quot;post&quot; action=&quot;inc/login.php&quot;&gt;
  </code></pre>
  <p>Here is .htaccess code</p>
  <pre><code>RewriteEngine On 
  
  RewriteCond %{SCRIPT_FILENAME} !-f
  RewriteCond %{SCRIPT_FILENAME} !-d
  RewriteRule ^events/([a-z0-9\-]+)$ /new_events.php?slug=$1 [L]
  
  RewriteCond %{SERVER_PORT} 80
  RewriteCond %{HTTP_HOST} ^(www\.)?zink\.la
  RewriteRule ^(.*)$ https://www.zink.la/$1 [R,L]
  
  RewriteCond %{THE_REQUEST} /([^.]+)\.php [NC]
  RewriteRule ^ /%1 [NC,L,R]
  
  RewriteCond %{REQUEST_FILENAME}.php -f
  RewriteRule ^ %{REQUEST_URI}.php [NC,L]
  
  RewriteCond %{HTTP_HOST} !^www.zink.la [NC]
  RewriteRule ^(.*)$ http://www.zink.la/$1 [L,R=301]
  
  ErrorDocument 404 https://www.zink.la/404.php
  
  &lt;IfModule mod_expires.c&gt;
      ExpiresActive on
   
      ExpiresByType image/jpg &quot;access plus 1 month&quot;
      ExpiresByType image/jpeg &quot;access plus 1 month&quot;
      ExpiresByType image/gif &quot;access plus 1 month&quot;
      ExpiresByType image/png &quot;access plus 1 month&quot;
  &lt;/IfModule&gt;
  
  &lt;IfModule mod_expires.c&gt;
      ExpiresActive on
   
      ExpiresByType text/javascript &quot;access plus 1 month&quot;
      ExpiresByType application/javascript &quot;access plus 1 month&quot;
  &lt;/IfModule&gt;
  
  &lt;IfModule mod_expires.c&gt;
      ExpiresActive on
   
      ExpiresByType text/css &quot;access plus 1 month&quot;
  &lt;/IfModule&gt;
  </code></pre>