This does break staticpages for custom permalinks. Use a different 404 fallback, in staticpages. hopefully soon to come. until then, query {$view == '404'} in your template to show 404 content
This commit is contained in:
parent
afec8eca2d
commit
8e028c425d
@ -25,7 +25,7 @@ RewriteRule ^{PAT_COMMENTS} {indexFile}?url=/{PATH_COMMENTS}/$1 [L,QSA]
|
||||
RewriteRule ^{PAT_CSS} {indexFile}?url=/$1 [L,QSA]
|
||||
RewriteRule ^index\.(html?|php.+) {indexFile}?url=index.html [L,QSA]
|
||||
RewriteRule ^htmlarea/(.*) htmlarea/$1 [L,QSA]
|
||||
RewriteCond %{REQUEST_URI} !-U
|
||||
#RewriteCond %{REQUEST_URI} !-U
|
||||
RewriteRule (.*\.html?) {indexFile}?url=/$1 [L,QSA]
|
||||
|
||||
<Files *.tpl.php>
|
||||
|
@ -27,7 +27,7 @@ RewriteRule ^{PAT_COMMENTS} {indexFile}?url=/{PATH_COMMENTS}/$1 [L,QSA]
|
||||
RewriteRule ^{PAT_CSS} {indexFile}?url=/$1 [L,QSA]
|
||||
RewriteRule ^index\.(html?|php.+) {indexFile}?url=index.html [L,QSA]
|
||||
RewriteRule ^htmlarea/(.*) htmlarea/$1 [L,QSA]
|
||||
RewriteCond %{REQUEST_URI} !-U
|
||||
#RewriteCond %{REQUEST_URI} !-U
|
||||
RewriteRule (.*\.html?) {indexFile}?url=/$1 [L,QSA]
|
||||
|
||||
<Files *.tpl.php>
|
||||
|
Loading…
x
Reference in New Issue
Block a user