RewriteCond %{REQUEST_URI} ^.*\.html$
RewriteRule ^(.*)\.html$ http://domain/$1 [R,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
RewriteEngine Off
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} ^.*\.html$
RewriteRule ^(.*)\.html$ $1 [R,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
)...
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} ^.*\.html$
RewriteRule ^(.*)\.html$ $1 [R,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)-([1-9])$ index.php?q=$1&page=$2 [L,QSA]
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
RewriteRule ^(.*)-([1-9])$ index.php?q=$1&page=$2 [L,QSA]
127.0.0.1 - - [22/Mar/2007:23:19:43 +0530] "GET /go/people/profiles/test-profile HTTP/1.1" 200 2768 127.0.0.1 - - [22/Mar/2007:23:19:43 +0530] "GET /favicon.ico HTTP/1.1" 404 1276 127.0.0.1 - - [22/Mar/2007:23:19:43 +0530] "GET /assets/templates/default/print.css HTTP/1.1" 404 1276 127.0.0.1 - - [22/Mar/2007:23:19:43 +0530] "GET /assets/templates/default/sitestyle.css HTTP/1.1" 404 1276 127.0.0.1 - - [22/Mar/2007:23:19:43 +0530] "GET /assets/js/pop.js HTTP/1.1" 404 1276 127.0.0.1 - - [22/Mar/2007:23:19:43 +0530] "GET /assets/images/bookmark/delicious.png HTTP/1.1" 404 1276
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)\.html$ $1 [R,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)-([0-9]+)$ index.php?q=$1&page=$2 [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]