my url is being redirected to an unknown url

Asked by:
davers5 / 5 Points
2012-06-05 10:06 am EST
I am a teacher and my students all have a wordpress blog using my url which is each student has there wordpress blog using my url
for all it is my url first name. now all of sudden when any of them try to access there site it is redirected to this unknown url- how do i repair this so that i can access my students work on their blog.

To ask this user for more information, please first login.

To submit an answer, please login.

Where would I locate the offending code? i.e. Which file folder should I open and look in for this?
0 Points
2015-07-17 11:13 am EST



16,266 Points
2012-06-05 11:05 am EST
Hello Davers5,

The issue seems to be caused by a code injection. It is a minor type of hack where someone obtained access to your account via the password and injected code into specific pages. This code is encrypted but readable by the server, causing visitors to be redirected to another site.

The way to fix it is to go through the files and simply remove the offending code. It is usually identifiable from the rest of the code in the file due to the encryption. Simply remove that code from the files and it will no longer redirect.

Also, be sure to change all passwords and make sure you are up to date on the Wordpress version to avoid any security holes.

I hope this answers your question. If you have any more questions or information specific to the issue please leave a comment below so we can further assist you.

Best regards,
Scott M.

To submit a comment on this answer, please first login.

Want to share this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!

Help Center Search

Current Customers

Email: Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.