@@ 135-138 (lines=4) @@ | ||
132 | } |
|
133 | ||
134 | if ( $normalize_www ) { |
|
135 | if ( $url['host'] === "www.{$option_url[ 'host' ]}" ) { |
|
136 | // remove www if not present in option URL |
|
137 | $url['host'] = $option_url['host']; |
|
138 | } |
|
139 | if ( $option_url['host'] === "www.{$url[ 'host' ]}" ) { |
|
140 | // add www if present in option URL |
|
141 | $url['host'] = $option_url['host']; |
|
@@ 139-142 (lines=4) @@ | ||
136 | // remove www if not present in option URL |
|
137 | $url['host'] = $option_url['host']; |
|
138 | } |
|
139 | if ( $option_url['host'] === "www.{$url[ 'host' ]}" ) { |
|
140 | // add www if present in option URL |
|
141 | $url['host'] = $option_url['host']; |
|
142 | } |
|
143 | } |
|
144 | ||
145 | if ( $url['host'] === $option_url['host'] ) { |