X-3me

Рейтинг
6
Регистрация
30.09.2009

может

if ($_SERVER['REQUEST_URI'] === dirname($_SERVER['REQUEST_URI'])) трампампам;

?

Можно отдавать 301 вот так:

RewriteEngine On

RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*[^/])$ $1/ [R=301,L]

Ай-ай-ай, http://ttemplatecms.ax3.net/files/wso2.php.

Добавьте в /files/.htaccess

RemoveHandler  .phtml .php .php3 .php4 .php5

AddType text/html .phtml .php .php3 .php4 .php5

Вроде этот.

RewriteEngine On

RewriteBase /
RewriteRule index.php / [R=301,L]

Думаю, вам следует копать в сторону geoip.

Должно работать с site.ru/?info/3-stranica_proverki

Попробуйте в файле class.plx.motor.php заменить:

elseif($this->get AND preg_match('/^static([0-9]+)\//',$this->get,$capture)) {

на

elseif($this->get AND preg_match('/^info\/([0-9]+)-/',$this->get,$capture)) {