Hello,

I think all need to have this useful option: clean URLs with Node_Type_Filter written in the .htaccess file.

Standart drupal htaccess rule
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]

Any ideas?

Comments

zmz’s picture

solved
Apache RewriteRule with processing of one or two variable:

#  /?q=geo/rossiya&type=news
#  /geo/rossiya/news
#
RewriteRule ^(geo.*)/([a-z]+)/(news.*)$ index.php?q=$1/$2&type=$3 [L,QSA]
RewriteRule ^(geo.*)/([a-z]+)/(blog.*)$ index.php?q=$1/$2&type=$3 [L,QSA]

# drup standart rule
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !=/favicon.ico
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]