Skip to content

Commit 3c76c0d

Browse files
committed
fix: fix htaccess
1 parent cb0b916 commit 3c76c0d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

controllers/admin/AdminVuefrontAjaxController.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,28 +91,28 @@ public function ajaxProcessVfTurnOn() {
9191
# VueFront pages
9292
9393
# VueFront home page
94-
RewriteCond %{REQUEST_URI} !.*(images|index.php|.html|admin|.js|.css|.png|.jpeg|.ico|wp-json|wp-admin|checkout)
94+
RewriteCond %{REQUEST_URI} !.*(images|index.php|.html|admin|.js|.css|.png|.jpeg|.ico|wp-json|wp-admin|checkout|jpg)
9595
RewriteCond %{QUERY_STRING} !.*(rest_route)
9696
RewriteCond %{DOCUMENT_ROOT}".$catalog_path."vuefront/index.html -f
9797
RewriteRule ^$ vuefront/index.html [L]
9898
99-
RewriteCond %{REQUEST_URI} !.*(images|index.php|.html|admin|.js|.css|.png|.jpeg|.ico|wp-json|wp-admin|checkout)
99+
RewriteCond %{REQUEST_URI} !.*(images|index.php|.html|admin|.js|.css|.png|.jpeg|.ico|wp-json|wp-admin|checkout|jpg)
100100
RewriteCond %{QUERY_STRING} !.*(rest_route)
101101
RewriteCond %{DOCUMENT_ROOT}".$catalog_path."vuefront/index.html !-f
102102
RewriteRule ^$ vuefront/200.html [L]
103103
104104
# VueFront page if exists html file
105105
RewriteCond %{REQUEST_FILENAME} !-f
106106
RewriteCond %{REQUEST_FILENAME} !-d
107-
RewriteCond %{REQUEST_URI} !.*(images|index.php|.html|admin|.js|.css|.png|.jpeg|.ico|wp-json|wp-admin|checkout)
107+
RewriteCond %{REQUEST_URI} !.*(images|index.php|.html|admin|.js|.css|.png|.jpeg|.ico|wp-json|wp-admin|checkout|jpg)
108108
RewriteCond %{QUERY_STRING} !.*(rest_route)
109109
RewriteCond %{DOCUMENT_ROOT}".$catalog_path."vuefront/$1.html -f
110110
RewriteRule ^([^?]*) vuefront/$1.html [L,QSA]
111111
112112
# VueFront page if not exists html file
113113
RewriteCond %{REQUEST_FILENAME} !-f
114114
RewriteCond %{REQUEST_FILENAME} !-d
115-
RewriteCond %{REQUEST_URI} !.*(images|index.php|.html|admin|.js|.css|.png|.jpeg|.ico|wp-json|wp-admin|checkout)
115+
RewriteCond %{REQUEST_URI} !.*(images|index.php|.html|admin|.js|.css|.png|.jpeg|.ico|wp-json|wp-admin|checkout|jpg)
116116
RewriteCond %{QUERY_STRING} !.*(rest_route)
117117
RewriteCond %{DOCUMENT_ROOT}".$catalog_path."vuefront/$1.html !-f
118118
RewriteRule ^([^?]*) vuefront/200.html [L,QSA]";

0 commit comments

Comments
 (0)