Page is a not externally linkable
stayce - 6:17 am on Jan 19, 2009 (gmt 0)
RewriteRule category/new(.*).htm$ catalog.htm?new=yes&page=$1 RewriteRule category/sale(.*).htm$ catalog.htm?sale=yes&page=$1 RewriteRule category/all(.*).htm$ catalog.htm?all=yes&page=$1 RewriteRule category/featured(.*).htm$ catalog.htm?featured=yes&page=$1 RewriteRule category_(.*)/(.*)/(.*).htm$ catalog.htm?category=$1&page=$2 RewriteRule item_(.*)/new/(.*).htm$ catalog.htm?item=$1&new=yes RewriteRule item_(.*)/(.*)/(.*).htm$ catalog.htm?item=$1&catid=$2 RewriteRule article_(.*)/(.*).htm$ articles.htm?article=$1 </IfModule> RewriteCond %{HTTP_HOST} ^.*$
<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule category/new.htm$ catalog.htm?new=yes
RewriteRule category/sale.htm$ catalog.htm?sale=yes
RewriteRule category/all.htm$ catalog.htm?all=yes
RewriteRule category/featured.htm$ catalog.htm?featured=yes
RewriteRule category_(.*)/(.*).htm$ catalog.htm?category=$1
RewriteRule item_(.*)/all/(.*).htm$ catalog.htm?item=$1&all=yes
RewriteRule item_(.*)/sale/(.*).htm$ catalog.htm?item=$1&sale=yes
RewriteRule item_(.*)/featured/(.*).htm$ catalog.htm?item=$1&featured=yes
RewriteRule item_(.*)/(.*).htm$ catalog.htm?item=$1
AddType application/x-httpd-php .php .htm .htmlRewriteCond %{HTTP_HOST} ^.*$
RewriteRule ^/?$ "http\:\/\/www\.example\.com" [R=301,L]
RewriteRule ^/?$ "http\:\/\/www\.example\.com\/" [R=301,L]