• Смотрите такая ситуация
    У меня в часть страниц для сайта http://topforex.in.ua например http://topforex.in.ua/broker_name/?roboforex/
    Получаються таким способом

    RewriteEngine On
    RewriteBase /
    AddDefaultCharset UTF-8
    RewriteCond %{REQUEST_URI} ^/broker_name
    RewriteRule ^broker_name/(.*)/$ /broker_name/?$1/ [R=301,L]      
    
    RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
    RewriteCond %{REQUEST_URI} !^/wp-login.php
    RewriteCond %{REQUEST_URI} !^/wp-admin
    RewriteCond %{REQUEST_URI} !^/wp-content
    RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
    RewriteCond %{REQUEST_METHOD} !POST
    RewriteCond %{QUERY_STRING} !.*=.*
    RewriteCond %{HTTP:X-Wap-Profile} !^[a-z0-9\"]+ [NC]
    RewriteCond %{HTTP:Profile} !^[a-z0-9\"]+ [NC]
    RewriteCond /home/superf/public_html/domains/topforex.in.ua/wp-content/cache/all/uk/$1/index.html -f
    RewriteRule ^(.*) "/uk/wp-content/cache/all/uk/$1/index.html" [L]

    Как мне сделать чтоб для подблога http://topforex.in.ua/uk/
    такие же страницы http://topforex.in.ua/uk/broker_name/roboforex/ находились по адресу http://topforex.in.ua/uk/broker_name/?roboforex/

Просмотр 3 ответов — с 1 по 3 (всего 3)
Просмотр 3 ответов — с 1 по 3 (всего 3)
  • Тема «Редирект» закрыта для новых ответов.