Possible Footprints Danger [message #33] |
Sat, 11 November 2006 08:24  |
sdr2887 Messages: 2 Registered: November 2006 |
Junior Member |
|
|
Hi,
I just thought I would ask if the developers are actively working to eliminate any script footprints that the search engines might pick up on?
This has become a big problem for other link exchange scripts and am trying to find a new one that has been designed to solve this problem.
Thanks,
Scott.
[Updated on: Sat, 11 November 2006 11:06] by Moderator
|
|
|
|
|
|
|
| Re: Footprint [message #39 is a reply to message #38 ] |
Fri, 17 November 2006 02:45  |
Andrew Messages: 67 Registered: September 2006 |
Member Administrator |
|
|
| Quote: | By "some_file" do you mean we need to list each file or is there a wildcard that can be put in so that any .txt file in that subdirectory gets rewritten?
|
Sure, you can use a wildcard like
RewriteRule your_scripts_directory/.*\.txt er.php [L]
| Quote: | Also, then, your er.php example would just be a page that is served up as a 404 error. Do you have to have a page or can you just rely upon your server to reply with it's normal 404 error (e.g., is that what the [L] tag does?
|
You are supposed to have your own er.php or any other file (you can always change the contents of .htaccess)
[L] means the last rule for a current pattern and has nothing to do with our servers.
| Quote: | If I do need a file, I presume this will go into the scripts_directory/ ?
|
You can place it anywhere. In the example above it must be placed in the parent directory (your site's main folder).
If you like to place it in your script's directory specify the path in the rewrite rule.
RewriteRule your_scripts_directory/.*\.txt your_scripts_directory/er.php [L]
|
|
|