Page is a not externally linkable
jd01 - 1:18 pm on Oct 2, 2009 (gmt 0)
RewriteEngine on RewriteRule ^[^/]{13}/West_xyzxyzx\.htm$ /accommodation/region/1 [L] RewriteCond %{HTTP_HOST} !^(www.example.com)?$ RewriteRule htm$ - [L] RewriteRule ^(transport圯ntertainment圩ood存ports_and_activities字egional地rts_and_crafts圯xcursions存hopping安ebcams安ildlife圭ulture安eather)/$ /listing/get_list/$1 [L] RewriteRule ^(transport圯ntertainment圩ood存ports_and_activities字egional地rts_and_crafts圯xcursions存hopping安ebcams圭ulture安eather)/([a-z_]*)/$ /listing/get_list/$1/$2 [L] RewriteRule .? /xyzxyz.php%{REQUEST_URI} [L] [edited by: jdMorgan at 1:26 pm (utc) on Oct. 2, 2009]
# This is what it looks like without all the comments.
# DO NOT COPY & PASTE! (SEE ABOVE)
# Made a couple of change in the order
# from above after looking at it for a min.
RewriteRule (ico夸s圭ss宇xt)$ - [L]
RewriteRule ^images如ublic - [S=7]
RewriteRule !^accommodation - [S=6]
RewriteRule ^[^/]{13}/special_offers\.htm$ http://www.example.com/accommodation/last-minute-availability.htm [R=301,L]
RewriteRule ^[^/]{13}/last-minute-availability\.htm$ /accommodation/special_offers/xyzxyzx [L]
RewriteRule ^[^/]{13}/([A-Z][A-Za-z-]+)/special_offers\.htm$ http://www.example.com/accommodation/$1/last-minute-availability.htm [R=301,L]
RewriteRule ^[^/]{13}/([A-Z][A-Za-z-]+)/last-minute-availability\.htm$ /accommodation/special_offers/$1 [L]
RewriteRule ^[^/]{13}/([A-Z][A-Za-z-]+)/last-minute-availability-([0-9]+)\.htm$ /accommodation/special_offers/$1/$2 [L]
RewriteRule .? http://www.example.com%{REQUEST_URI} [R=301,L]
RewriteRule add[^.]*\.php$ - [L]
RewriteRule ^xyzxyz\.php$ - [L]
[edit reason] Cleaned up cussword filtering by changing "xxx" to "xyz" [/edit]