Skip to content

Commit

Permalink
Added robots.txt exception in RewriteCond
Browse files Browse the repository at this point in the history
Signed-off-by: Shivam Dixit <[email protected]>
  • Loading branch information
shivamdixit committed Aug 18, 2014
1 parent f953ccc commit 50bd0b9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .htaccess
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{QUERY_STRING} (.*)
RewriteCond $1 !^(robots.txt)
RewriteRule ^(.*)$ _japp/loader.php?__r=$1&%1


#RewriteCond %{query_string} ^(.*)
#RewriteRule (.*) _japp/loader.php?__r=$1&%1
</IfModule>

0 comments on commit 50bd0b9

Please sign in to comment.