Update htaccess to include rewrite rules for non-existing files and directories
This commit is contained in:
@@ -103,7 +103,7 @@ if ( $request_uri != '' )
|
||||
$pattern = $route['pattern'];
|
||||
$destination = $route['destination'];
|
||||
|
||||
if ( preg_match("#^" . $pattern . "#", $request_uri, $matches ) )
|
||||
if ( preg_match( "#^" . $pattern . "#", $request_uri, $matches ) )
|
||||
{
|
||||
// Replace placeholders in the destination with matches from the request URI
|
||||
$destination = preg_replace( "#^" . $pattern . "#", $destination, $request_uri );
|
||||
|
||||
Reference in New Issue
Block a user