I can not implement a redirect. There is a page:
http://obruchalnye-kolca.juveros-shop.ru/jewel/obruchaljnye-koljca.html
She should also show with url: http://obruchalnye-kolca.juveros-shop.ru
Baska broke already.
I can not implement a redirect. There is a page:
http://obruchalnye-kolca.juveros-shop.ru/jewel/obruchaljnye-koljca.html
She should also show with url: http://obruchalnye-kolca.juveros-shop.ru
Baska broke already.
And I will share my decision to the CNC:
.htaccess file
RewriteEngine on
RewriteCond% {REQUEST_FILENAME}! -F
RewriteCond% {REQUEST_FILENAME}! -D
RewriteRule (. *) $ Index.php / $ 1 [QSA]
file: index.php
// разбираем строку запроса, и формируем массив $array_url = explode("/", $_SERVER['REQUEST_URI']); foreach($array_url as $value_url) { if(!empty($value_url)) { $SEF[] = trim(urldecode($value_url)); } } // просмотр массива //echo '<pre>'.var_export($SEF).'</pre>';
It's simple.
I will not paint here "how?" So what ?" Just read this article, everything is pretty simple and clear. Link
Source: https://ru.stackoverflow.com/questions/72118/
All Articles