From d3cdabcac7feb8c62451ac12a22256c0eff16873 Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Sat, 29 Feb 2020 22:08:30 +0100 Subject: Add URL rewrites/replacements --- data/config.php.dist | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'data/config.php.dist') diff --git a/data/config.php.dist b/data/config.php.dist index cef499b..38c0432 100644 --- a/data/config.php.dist +++ b/data/config.php.dist @@ -13,6 +13,10 @@ $GLOBALS['phinde'] = array( //list of regexes for URLs that should not be crawled 'crawlBlacklist' => array( ), + //modify URLs with regex + 'urlRewrites' => array( + // '^http://example.org/' => 'https://example.org/', + ), //verbose output 'debug' => true, //full path to log file -- cgit v1.2.3