Download & Extend

clean URLs with Node_Type_Filter

Project:Node Type Filter
Version:6.x-1.2
Component:Documentation
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

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

#1

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]