Skip to content

Commit e401123

Browse files
author
gingertek
committed
updated .htaccess
1 parent 5b4cd50 commit e401123

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.htaccess

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,14 @@
1212
# RewriteRule (.*) https://%{SERVER_NAME}/$1 [L,R=301]
1313

1414
## Paths explicitly blocked from being handled by the server, except for admin and robots
15-
RewriteRule ^config.php index.php [L,NC]
15+
RewriteRule ^config.json index.php [L,NC]
1616
RewriteRule ^robots.txt robots.txt [L,NC]
1717
RewriteRule ^logs/.* index.php [L,NC]
1818

1919
## Paths explicitly handled by the server
2020
RewriteCond %{REQUEST_FILENAME} -f
2121
RewriteCond %{REQUEST_FILENAME} !/.well-known/*
22+
RewriteCond %{REQUEST_FILENAME} !/content/.*
2223
RewriteCond %{REQUEST_FILENAME} !/assets/.*
2324
RewriteCond %{REQUEST_FILENAME} !/media/.*
2425
RewriteCond %{REQUEST_FILENAME} !/layouts/.*/(partials)/.*

0 commit comments

Comments
 (0)