Forum Moderators: phranque
Redirect 301 /directory/ipb.htm [mysite.com...]
I have been trying to use multiple ".htm" pages to work with this command with no success.
Is there a way to write in the place of "ipb.htm" a range that will include "a" through "z"? Sort of like: ip(a-z).htm (That does not work of course)
Thanks in advance.
Jim
I actually figured it out according to the RedirectMatch 301 as per Caterham's last post. Wrote the code and found out it was not what I wanted to do at all. Live and learn.
The problem arose because scrapers must know of a program that stores email addresses in "ipb.htm", which is also a page in a genealogy program I use that does not contain addresses. My site is constantly being scanned for just that page. And, although, the scrapers get nothing, it just annoyed me. (Guess they got something.)
Since, I've taken other steps to annoy the scrapers, just a little more work for me, but well worth it.
Thanks again for the advice, I've certainly learned more.
Jim
Jim
My site is quite basic, static, no scripts, etc. All pages are HTTP requests. Strictly an informational type site, with internal links to its pages, some external links to other sites.
If I could keep that particular page from being indexed, that may be another solution.
Right now I've chanded the file name and links to it, along with the subdirectory name. So, the scrapers get a 404 or a 403 if their ip range has been blocked. Works for me so far.
Thanks for the thought/advise.
Jim