Уважаемые форумчане, помогите пожалуйста правильно настроить редирект. Имеются два домена (pr-dx.ru (основа) и denrozdenia.ru (должен редиректить на pr-dx.ru)). После манипуляций друга - перестали открываться все страницы, кроме главной. Т.е. я выбираю раздел "О нас", он не открывается а редиректит на главную.
Привожу содержимое .htaccess файла:
Code: Select all
RewriteEngine on
# 301 Redirect all requests that don't contain a dot or trailing slash to
# include a trailing slash
RewriteCond %{REQUEST_URI} !/$
RewriteCond %{REQUEST_URI} !\.
RewriteRule ^(.*) %{REQUEST_URI}/ [R=301,L]
# Rewrites urls in the form of /parent/child/
# but only rewrites if the requested URL is not a file or directory
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ index.php?page=$1 [QSA]
AddType application/x-httpd-php5 .php