What Should I Do If My Website Starts Redirecting to Strange Websites?
Imagine a customer searching for your cleaning business online. They find your website, click the link and expect to see your services. Instead, they’re suddenly taken to an unfamiliar website advertising something completely unrelated to your business.
That’s worrying for the customer, but it can be even more worrying for you. Your website may be losing enquiries, putting visitors at risk and damaging the trust you’ve worked hard to build.
If your website redirecting to strange websites is the problem you’re facing, the first thing to understand is that it doesn’t automatically mean your website has been hacked. However, an unexpected redirect can be a sign of malicious code, a compromised account or another security problem that needs investigating.
Quick Answer
If your website suddenly redirects visitors to unfamiliar or suspicious websites, treat it as a possible security incident. Record what happens, contact your website hosting provider and arrange for the website to be checked for malware, unauthorised changes and compromised accounts.
If visitors could be sent to harmful websites, temporarily take the affected site or pages offline using a safe maintenance page. Secure your accounts, investigate the cause, clean or restore the website from a verified safe backup and test it before reopening.
Don’t assume the problem has disappeared simply because the redirect stops happening on your own computer.
What Does a Website Redirect Mean?
A website redirect happens when someone tries to open one web address but is automatically sent to another. Redirects are a normal part of how websites work, and many are completely harmless.
For example, a local electrician might replace an old services page with a new one. The business could set up a redirect so customers clicking the old address arrive at the updated page instead of seeing an error.
The problem starts when visitors are sent somewhere the business owner never intended. This could be an unrelated advertising website, a fake prize page, an adult website, a suspicious shopping site or a page asking visitors to download software.
Google explains that malicious redirects can even behave differently depending on the visitor’s device or where they clicked from. This means your website might appear perfectly normal when you check it, while someone arriving through Google sees something completely different.
You can read more about this behaviour in Google’s official search spam guidance.
Why Is My Website Redirecting to Strange Websites?
There are several possible reasons why a business website suddenly starts sending people to unwanted destinations. Some involve deliberate hacking, while others come from technical mistakes or third-party services.
1. Malicious code has been added to your website
Hackers sometimes place hidden code inside website files or the database. This code can automatically send visitors to another website without your permission.
The code might only activate for mobile visitors, first-time visitors or people arriving from a search engine. This selective behaviour can make the problem difficult to spot during an ordinary website check.
2. An outdated plugin or theme has been exploited
If your website uses WordPress, it may rely on plugins for contact forms, bookings, galleries and other features. Themes control much of the website’s appearance.
Software containing an unpatched security weakness can sometimes provide an opportunity for attackers. However, an outdated plugin alone doesn’t prove that a hack has happened. The actual cause needs to be investigated.
3. Someone has gained access to your website account
If someone obtains your WordPress administrator password or hosting login, they may be able to change website settings, add unwanted code or create another administrator account.
This can happen through stolen passwords, phishing messages or malware on a computer used to manage the website.
4. Your domain or redirect settings have been changed
Your domain name connects customers to your website. If its settings are changed without permission, visitors may be directed somewhere unexpected.
Sometimes the problem is simply an incorrect setting made during a website move. In other cases, a compromised domain account or hosting configuration may be responsible.
5. A third-party advert or script is causing the redirect
Some websites load content from outside services, such as advertising networks, booking tools or other embedded features. A harmful or compromised third-party script can sometimes redirect visitors even when the main website files haven’t been directly hacked.
That’s why it’s important to identify where the redirect starts rather than immediately blaming WordPress or your hosting provider.
6. The problem is affecting one visitor’s device
Occasionally, unwanted redirects come from a browser extension, infected device or local network issue rather than the website itself.
If the redirect only happens on one computer, compare the results carefully using a different trusted device. Avoid repeatedly visiting a suspicious destination while investigating.
What Should I Do Immediately?
When a customer reports a suspicious redirect, speed matters. You don’t need to understand programming to take sensible first steps, but you should avoid making random changes that could destroy useful evidence.
Step 1: Record exactly what happened
Write down when the problem was first noticed, which page was affected and where the visitor was sent. Ask the person reporting it whether they were using a mobile phone, tablet or computer.
If it’s safe to do so, collect screenshots of the original address and the unexpected destination. Don’t enter details, download files or interact with suspicious pop-ups.
Step 2: Contact your hosting provider
Tell your hosting provider that visitors may be experiencing malicious redirects. Ask whether they can investigate recent file changes, security alerts, access logs and the website’s hosting environment.
Your provider may be able to help contain the problem and preserve useful records before the site is cleaned.
Step 3: Protect visitors from further harm
If there’s a genuine risk that visitors are being sent to harmful websites, ask your hosting provider or website professional to temporarily disable the affected website or display a safe maintenance page.
A maintenance page should be served from a trusted, unaffected environment. Simply installing another WordPress plugin on a compromised website may not stop a redirect that happens before WordPress loads.
Step 4: Secure your accounts
From a device you trust, change passwords for relevant accounts, including your website administrator, hosting account, domain provider and connected email account if compromise is suspected.
Enable two-factor authentication wherever available. Also ask your website professional to check for unfamiliar user accounts, unexpected access permissions and signs that an attacker still has access.
Step 5: Arrange a proper security investigation
A security scan is a useful starting point, but a clean scan doesn’t always mean the website is safe. Some malicious code is hidden or only activates under particular conditions.
If you’re not comfortable investigating website files and settings, ask an experienced professional to check the problem before attempting major changes yourself.
How Can I Check Whether My Website Has Been Hacked?
You can carry out a few simple checks without needing to understand the technical side of website security. These checks can help you explain the problem to your hosting provider or website professional.
| What to check | What it might tell you |
|---|---|
| Website on a different device | Whether the problem appears beyond one computer or browser. |
| Website opened from Google | Whether visitors arriving from search results see different behaviour. |
| WordPress administrator accounts | Whether unfamiliar users may have gained access. |
| Recent website changes | Whether the problem began after an update, installation or configuration change. |
| Google Search Console | Whether Google has reported security problems affecting the website. |
| Hosting security reports | Whether suspicious files, access attempts or unusual activity have been detected. |
If you use Google Search Console, check the Security Issues report. A warning can provide useful information, although the absence of a warning doesn’t prove your website is free from malware.
For WordPress websites, the official WordPress guide to hacked websites explains common warning signs and recovery considerations.
Remember that a website which looks normal to you may still behave differently for other visitors. This is particularly important when the problem has been reported by customers rather than discovered during your own checks.
How Do I Remove a Malicious Website Redirect?
Removing a malicious redirect means finding what is causing it, removing the unwanted changes and closing the security weakness that allowed the problem to happen.
Deleting one suspicious link isn’t necessarily enough. If an attacker still has access, the redirect could return after the website appears to be working normally.
Identify the source of the redirect
A website professional may need to inspect the site’s files, database, redirect rules, administrator accounts, domain settings and third-party scripts. The exact checks depend on how the website is built.
For WordPress, important areas can include the installed plugins, theme files, server configuration and unexpected files that don’t belong to the normal website installation.
Remove the malicious changes
Once the cause has been identified, the affected files or settings need to be cleaned or replaced with trustworthy versions. Any unauthorised accounts and access methods should also be removed.
It’s important to keep an appropriate record of what was found and changed. This can help if the issue returns or if customer information may have been affected.
Consider restoring a clean backup
A backup can sometimes provide a quicker route to recovery, particularly if it was created before the website was compromised.
However, restoring a backup isn’t automatically a complete solution. The backup might already contain malicious code, and the original weakness may still exist. Any restoration should therefore be checked and secured before the website is reopened.
Update and secure the website
After the website has been cleaned, apply appropriate security updates, remove software you no longer need and replace compromised passwords and access credentials.
If you run a WordPress website and want help keeping it updated and maintained, WordPress maintenance can be a useful part of your ongoing website care. An active security incident may still require a separate specialist investigation and clean-up.
Test before allowing visitors back
Ask your website professional to test important pages, contact forms, booking functions and any online payment journeys. Checks should include mobile devices and visitors arriving from search results.
Don’t reopen the website simply because the home page loads correctly. The original redirect conditions should be tested, and any remaining security concerns should be addressed.
How Could This Affect My Business?
A suspicious website redirect isn’t just a technical inconvenience. It can interfere with the way customers discover, contact and buy from your business.
Lost enquiries and bookings
Imagine someone trying to book an appointment with your beauty salon. Instead of reaching your booking page, they’re sent to an unrelated website. That customer may give up and choose another salon.
Even a short period of disruption can matter if your business depends on online enquiries, especially when customers are searching for a service they need quickly.
Damage to customer confidence
Customers expect a business website to take them where they intended to go. A strange redirect may make them question whether the website is safe or whether the business is still operating properly.
For an accountant, garage or online shop, that uncertainty could be particularly damaging because customers may already be preparing to share personal details or make a payment.
Possible search visibility problems
Google treats deceptive redirects and hacked content as potential search quality and security issues. Depending on what Google detects, a compromised website may face warnings or other effects in search results.
That doesn’t mean every unexpected redirect will automatically cause a ranking penalty. The outcome depends on the actual problem, its severity and how it is detected and resolved.
Time and recovery costs
The cost of fixing a website redirect depends on what caused it. Correcting an accidental setting may be straightforward, while investigating a compromised website could involve specialist work, restoring data and additional security checks.
There may also be indirect costs from missed enquiries, interrupted sales and time spent answering concerned customers.
What If Customer Information Has Been Exposed?
A malicious redirect doesn’t automatically mean customer information has been stolen. However, it can be a warning sign that someone has interfered with your website, so the possibility of a data breach should be considered.
If your website collects names, email addresses, contact form messages, booking details or payment information, ask the person investigating the incident to assess whether any personal data was accessed, changed or disclosed.
For UK businesses, a personal data breach may need to be reported to the Information Commissioner’s Office (ICO). Under UK GDPR, a notifiable breach must normally be reported within 72 hours of becoming aware of it, where feasible. Not every breach is reportable, and the decision depends on the risk to individuals.
Where a breach is likely to result in a high risk to individuals, affected people may also need to be informed without undue delay.
Don’t assume that because your website is small, data protection rules don’t apply. Keep a record of what happened, the information potentially affected and the decisions made during the investigation.
Refer to the ICO’s personal data breach guidance if customer information may have been involved.
How Can I Prevent the Problem Happening Again?
No website can be guaranteed completely free from security risks. However, sensible maintenance and account security can reduce the chances of another incident and make recovery easier if something goes wrong.
Keep your website software updated
Make sure WordPress, themes and plugins receive appropriate security updates. Remove software that’s no longer required, especially if it’s unsupported or has known security problems.
Before major updates, make sure a reliable backup is available and check that important website functions still work afterwards.
Use strong passwords and two-factor authentication
Every administrator should have their own account and a strong, unique password. Two-factor authentication adds another check when someone signs in.
Also review who has access to your website. A former employee or supplier may no longer need an administrator account.
Keep secure backups
Arrange regular backups and store copies separately from the live website. A useful backup should include the information needed to restore the site, and the restoration process should be tested periodically.
Keeping several backup versions can help when a problem has existed unnoticed for some time.
Monitor unusual activity
Ask your hosting provider or website professional about security monitoring, alerts and access logs. These can help identify suspicious changes before customers are affected.
It’s also sensible to check your website from time to time on a mobile phone and through a search result, not just by opening the home page on your usual computer.
Choose hosting with appropriate security support
Your hosting provider plays an important part in keeping your website available and helping with technical incidents. Ask what backups, monitoring, account protection and incident support are included.
Our website hosting service is one option for businesses looking for managed hosting. Whatever provider you use, make sure you understand who is responsible for software updates, security checks and recovery work.
Expert Insight From Daren Ward
Having worked with business websites since 2004, my advice is to treat an unexplained redirect as a problem that needs investigating, even if you can’t reproduce it yourself.
One thing I would pay particular attention to is how the customer reached the website. Did they click through from Google? Were they using a mobile phone? Did the redirect happen only once? Those details can be far more useful than simply saying the website is broken.
I would also avoid rushing to restore an old backup without understanding what happened. If the original weakness is still there, the business could end up facing the same problem again.
For a small business owner, the sensible approach is to protect visitors first, preserve useful information about the incident and then make sure the underlying cause has been properly dealt with before returning to normal.
Important Website Security Warning
If your website is sending visitors to suspicious websites, don’t enter personal information on those pages, download suggested software or follow unexpected instructions. Warn staff not to interact with the suspicious destination.
If the redirect leads to a fake login page, payment form or download, customers may be at risk. Arrange for the affected website to be safely contained while the problem is investigated.
Don’t delete evidence or make major changes before consulting the person handling the incident, unless immediate action is needed to prevent further harm.
Website Redirect Action Checklist
- Record the affected web address, time, device and reported destination.
- Ask your hosting provider to investigate and preserve relevant logs.
- Protect visitors with a safe maintenance page if the redirect could be harmful.
- Change compromised or potentially exposed passwords from a trusted device.
- Enable two-factor authentication and review administrator access.
- Check for malicious code, unauthorised settings and suspicious third-party scripts.
- Preserve an appropriate backup or snapshot before major clean-up work.
- Remove the cause and close the security weakness that allowed it.
- Check whether customer information could have been affected.
- Test the website on different devices and through search results.
- Set up ongoing updates, backups and security monitoring.
Frequently Asked Questions
1. Does a website redirect mean my website has been hacked?
Not always. An unexpected redirect could be caused by malicious code, incorrect settings, a third-party script or even a problem on a visitor’s device. However, if customers are being sent to suspicious websites without your permission, you should treat it as a possible security incident until the cause has been confirmed.
2. Why does my website redirect on mobile phones but not computers?
Some malicious redirects are designed to target particular devices. Attackers may send mobile visitors to a different destination while leaving the desktop version looking normal. A mobile-only redirect can also come from a third-party advert or script, so the source needs investigating.
3. Can a website redirect happen without me changing anything?
Yes. A website can be affected by unauthorised access, a security weakness or a problem with a connected service even when the owner hasn’t deliberately changed anything. That’s one reason why regular maintenance and monitoring are useful.
4. Why does my website redirect only when someone clicks from Google?
Some malicious redirects check where a visitor came from before activating. A person arriving from Google may therefore see a different page from someone typing the address directly into their browser. This behaviour can make the problem harder to detect during ordinary checks.
5. Can I remove a malicious redirect myself?
Possibly, if the problem is a simple setting you understand. However, removing malicious code from a compromised website can be complicated. If you’re unsure what caused the redirect, professional investigation is usually safer than deleting unfamiliar files or changing settings at random.
6. Will restoring my website backup fix the redirect?
A clean backup may help, but it isn’t a guaranteed fix. The backup could already contain malicious changes, or the original security weakness might still be present. The website should be checked and secured before and after restoration.
7. Can malicious redirects affect my Google rankings?
Yes, they can affect how Google treats your website, particularly if the site has been hacked or is sending visitors to harmful content. However, the impact varies. Fixing the underlying problem and checking Google Search Console are sensible steps before drawing conclusions about rankings.
8. Should I take my website offline if it redirects visitors?
If visitors may be exposed to harmful websites, temporarily taking the affected site offline or using a safe maintenance page may be appropriate. The decision depends on the severity of the issue and whether the website can be safely isolated. Your hosting provider can help assess the best approach.
9. How long does it take to fix a website redirect problem?
It depends on the cause. An incorrect redirect setting may be resolved quickly, while a website compromise can require a detailed investigation, clean-up and testing. A reliable timescale can’t be given until the problem has been assessed.
10. Can customers lose personal information because of a redirect?
It’s possible, particularly if a redirect sends visitors to a fake login page or payment form. However, the presence of a redirect doesn’t prove information has been stolen. If your website handles personal data, the incident should be assessed to determine whether a data breach has occurred.
11. Can the redirect return after my website has been cleaned?
Yes. If the original weakness remains or an attacker still has access, the problem can return. A proper recovery should include removing malicious changes, securing accounts, fixing the entry point and monitoring the website afterwards.
12. How often should I check my website for security problems?
Security monitoring should ideally be ongoing, with updates and backups carried out regularly according to the website’s needs. Business owners should also periodically check important pages, forms and booking functions to make sure customers are reaching the correct destinations.
Summary
When your website starts redirecting visitors to strange websites, the most important thing is to protect customers and establish what is causing the behaviour.
The problem may involve malicious code, unauthorised access, incorrect settings or a third-party service. Whatever the cause, simply making the redirect disappear isn’t enough if the underlying problem hasn’t been resolved.
Record what happened, contact your hosting provider, secure relevant accounts and arrange for the website to be properly checked. If customer data may have been affected, include that in the investigation.
Once the website has been cleaned and tested, regular maintenance, secure backups and sensible monitoring can help reduce the risk of the problem returning.
If you’d like ongoing help with keeping your WordPress website updated and maintained, you can explore our WordPress maintenance service.
Key Takeaways
- Unexpected redirects can indicate hacking, but other causes are possible.
- Protect visitors before attempting major website changes.
- Record the problem and involve your hosting provider early.
- Removing a redirect isn’t enough unless the original cause is fixed.
- A clean backup can help with recovery, but it must be checked.
- Security updates, account protection and monitoring help reduce future risks.
Found This Helpful? Share It
If you found this article useful, please share it with other business owners who might find it helpful too.
A quick share could help someone else protect their website and customers.