0

I have a Q2A website and use this .htaccess:

DirectoryIndex index.php
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} ^(.*)//(.*)$
RewriteRule . %1/%2 [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^.*$ index.php?qa-rewrite=$0&%{QUERY_STRING} [L]
</IfModule>

now, when I request example.com/1/mkdir url, 506.shml is generated for qa-rewrite parameter. This happens only for mkdir and for other words it's ok.

JalalJaberi
  • 2,417
  • 8
  • 25
  • 41

0 Answers0