Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: jquery - viewport
Hi Pete
At the moment there are no redirects as some ISPs seem to not like them. i wish that the htaccess rule worked and I would add the ip address you suggested.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#17 2015-05-08 01:12:59
- GugUser
- Member

- From: Quito (Ecuador)
- Registered: 2007-12-16
- Posts: 1,477
Re: jquery - viewport
What about this?
RewriteCond %{REQUEST_URI} ^/(admin|ckeditor|connectors|editor|fckedior|Tester|uploadTester|wp|wp-admin|wp-content|wp-login|xmlrpc).* [NC]
RewriteRule .* - [F,L]
But, if you have an URL which also contains, for example, the expression “editor” or “tester”, then it’s blocked too.
Offline
Re: jquery - viewport
Hi that works but for me it’s the same as a 404 which is what they get anyway. The idea is to redirect them to another url so as to get them away from the site sooner rather than have them try -which some of them do – 50 different combinations.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#19 2015-05-08 12:18:07
- GugUser
- Member

- From: Quito (Ecuador)
- Registered: 2007-12-16
- Posts: 1,477
Re: jquery - viewport
To the new, poor victim, which then must be active again.
RewriteRule .* http://to-the-new-poor-victim.net/ [R=301,L]
Or how gaekwad wrote.
Offline
Re: jquery - viewport
GugUser wrote #290572:
To the new, poor victim, which then must be active again.
RewriteRule .* http://to-the-new-poor-victim.net/ [R=301,L]...Or how gaekwad wrote.
Again, thanks so much for all your advice. No, that rule does not work as it just returns a 404. My bad I had a typo. Works as expected. thanks sooo much
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#21 2015-05-08 14:50:25
- GugUser
- Member

- From: Quito (Ecuador)
- Registered: 2007-12-16
- Posts: 1,477
Re: jquery - viewport
Because the complete thing is:
RewriteCond %{REQUEST_URI} ^/(admin|ckeditor|connectors|editor|fckedior|Tester|uploadTester|wp|wp-admin|wp-content|wp-login|xmlrpc).* [NC]
RewriteRule .* http://to-the-new-poor-victim.net/ [R=301,L]
And you have to replace my invented URL http://to-the-new-poor-victim.net by the URL of your “enemy”.
Last edited by GugUser (2015-05-08 14:52:25)
Offline
Re: jquery - viewport
Hi I actually did that with Pete’s IP but I forgot the dot before the asterisk. On further testing it semi works. ie it works only if the word comes after the url so if somebody visits domain.tld/wp/ they are kicked out but if somebody visits domain.tld/something/wp/, they get a 404.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#23 2015-05-08 15:46:14
- GugUser
- Member

- From: Quito (Ecuador)
- Registered: 2007-12-16
- Posts: 1,477
Re: jquery - viewport
RewriteCond %{REQUEST_URI} (admin|ckeditor|connectors|editor|fckedior|Tester|uploadTester|wp|wp-admin|wp-content|wp-login|xmlrpc) [NC]
Offline
Re: jquery - viewport
Thank you, Thank you, Thank you that indeed works as expected!!!
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline