Welcome! Log In Create A New Profile

Advanced

How to remove part of the url

Posted by vladut 
How to remove part of the url
January 17, 2012 04:39PM
Hello,

I have a bit of trouble with adware installed on some of my user's computers.

The urls loaded from my website have appended to them the following string:

http://www.mywebsite.com/%5Bobject%20Object%5D://www.EXAMPLEURL.info/worker/init.js?b=2&l=0
http://www.mywebsite.com/url_part/another_part/%5Bobject%20Object%5D://www.EXAMPLEURL.info/worker/init.js?b=2&l=0

where "%5Bobject%20Object%5D://www.EXAMPLEURL.info/worker/init.js?b=2&l=0" is the appended string.

Can someone help me with a rewrite rule to route all the requests to the url they're supposed to go?
ex:
http://www.mywebsite.com/%5Bobject%20Object%5D://www.EXAMPLEURL.info/worker/init.js?b=2&l=0
TO
http://www.mywebsite.com/

AND

http://www.mywebsite.com/url_part/another_part/%5Bobject%20Object%5D://www.EXAMPLEURL.info/worker/init.js?b=2&l=0
TO
http://www.mywebsite.com/url_part/another_part/

Thank you,
Vlad
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 142
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready