wordpress redirecting to a site am not sure of when viewing a profile

my wordpress site when viewing a profile of authors sometimes it stays sometimes when refreshed it goes to http://financetimes.co/work-at-home-mom-true-success-story-googletrader/ redirects to this hacked site.

is there a php code i can add in Function.php so it dont redirect.

if "http://financetimes.co" {
dont redirect
}

Related posts

3 comments

  1. You first need to establish if the problem is on your computer side or on the server side.

    Try with another computer. If the problem remains, the problem is on the server.

    You cannot simply add a “patch”. If your website is vulnerable you need to fix it.

    You can consider disabling plugin by plugin and/or try temporarily another theme in order to find out the origin of the problem.

  2. resolved the problem by removing infected zen cauche pro plugin thanks stack overflow members.

Comments are closed.