This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Например так | |
// Получаем адрес URL, сравниваем текущий с тем, с которого надо сделать редирект | |
// если совпадает, происходит редирект | |
// В примере ниже показан редирект со страницы без слеша, на страницу со слешем | |
<?php | |
$productUrl = ((!empty($_SERVER['HTTPS'])) ? 'https' : 'http') . '://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; | |
if ($productUrl == 'https://www.geos24.ru/services/inzhenernye-izyskaniya/rekonstrukxhiya') { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* WordPress Breadcrumbs | |
* author: Dimox | |
* version: 2019.03.03 | |
* license: MIT | |
*/ | |
function dimox_breadcrumbs() { | |
/* === OPTIONS === */ |
OlderNewer