Forum Moderators: phranque
RewriteRule "(index|maps|views)-?[a-z]?(\d\d)?\.htm" "-" [G]
...some bad bots append querystrings to the end. Or would they be not included in the rule anyway? I see nothing to indicate that.
phranque - Double quotes now removed. I deliberately avoided the end anchor as I've noticed some bad bots append querystrings to the end. Or would they be not included in the rule anyway?
... The Pattern will initially be matched against the part of the URL after the hostname and port, and before the query string (e.g. "/app1/index.html").