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.

  • Those. when entering the main site should display info from the embedded page? - Palmervan
  • Without going into details, yes. - Nuboyd

3 answers 3

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.

  • 1. Remove the slashes from the string // echo '<pre>'. Var_export ($ SEF). '</ Pre>'; 2. Go to: your_add / rus / mod / news / post 3.We look at how beautiful everything turned out - FreeMast

I will not paint here "how?" So what ?" Just read this article, everything is pretty simple and clear. Link

  • there is nothing there - Nuboyd