I see how the single rule might be shorter. In truth, I have a few more conditions than I listed in this post so I'm thinking the $1/$2 stuff keeps it nice and tidy (for my way of thinking anyway).
Ok - I see your point on no need to block static and dynamic versions, and after some reconfiguration and testing, agree. I also decided to concentrate on page 1 initially and make sure it was right before deploying to pages 2 and 3. Thus, I am only working with page 1 for the moment. Here is my code:
# Block bogus queries on page1.php
# This is done statically only (i.e., page1/88)
RewriteCond $1 (ht|f)tp: [NC,OR]
RewriteCond $1 (\?|%3F) [NC,OR]
RewriteCond $1 trackback [NC]
RewriteRule ^page1/([^\ ]+)/?$ - [F]
# Internal rewrite to page1 from new static URLs to dynamic form needed for page functionality
RewriteRule ^page1/([^\ ]+)/?$ /page1.php?item=$1 [L]
# External redirect for page1 if old dynamic URL is used
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /page1\.php\?item=([^\ ]+)\ HTTP/
RewriteRule ^page1\.php$ [
mywebsite.com...] [R=301,L]
This seems to work fine. What do you think of my use of "([^\ ]+)/?$" in the first 2 rewrite rules? Does this seem OK? In the first rule my intent was basically to capture anything following "page1/" on out the the end of the URL without using .*. I am thinking I have specified any and all characters up to the first space, and all this might or might not be followed by a /. Perhaps I don't need the trailing /? and/or $ anchor?
Thanks for all your help.