"Block" certain link to my site?
-
limaeasy
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 5
-
Thank you received: 0
-
-
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
11 years 1 month ago #2234
by admin
Hi,
this redirection could be performed checking the referral. The bad news is this is not possible with ReDJ (redirection rules works on called URLs, not on header data). The good news is this could be done with a rewrite rule in .htaccess.
Kind regards,
Luigi
Please Log in or Create an account to join the conversation.
-
limaeasy
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 5
-
Thank you received: 0
-
-
11 years 1 month ago #2239
by limaeasy
Hello Luigi,
Thank you for pointing me in the right direction! I'll have a look at .htaccess file to solve this...
TNX
Tim
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
11 years 1 month ago - 11 years 1 month ago #2240
by admin
Ok,
it should be easy, after:
Add something like:
RewriteCond %{HTTP_REFERER} badsite\.com [OR]
RewriteCond %{HTTP_REFERER} anotherbadsite\.com
RewriteRule ^ %{HTTP_REFERER} [R,L]
Not tested, so maybe it should be adjusted a little...
Kind regards,
Luigi
Last edit: 11 years 1 month ago by admin.
The following user(s) said Thank You: limaeasy
Please Log in or Create an account to join the conversation.
-
limaeasy
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 5
-
Thank you received: 0
-
-
11 years 1 month ago #2243
by limaeasy
PERFECT!!!
I adjusted your example to my (site) needs and it works as I needed it.
Thank you for going way beyond the scope of the product support you would receive anywhere else
Greetings,
Tim
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
11 years 1 month ago #2246
by admin
Hi Tim,
it is just because I like to help my neighbor...
Kind regards,
Luigi
Please Log in or Create an account to join the conversation.
Time to create page: 0.139 seconds