Site Redirect when logging from mobile devices

Started by sam, Aug 19, 2022, 02:35 AM

Previous topic - Next topic

samTopic starter

Our website can be accessed without any issues on desktop browsers, however, two weeks ago we noticed that it was also accessible on mobile devices using both Android and iOS platforms. Despite this recent development, our website still functions perfectly on computers.
Unfortunately, we are now experiencing a problem with redirects on mobile devices which lead to other websites, and we have never encountered this issue before. Can you suggest a solution?


There is a virus present on the website, and you should search for base64 to locate it. Begin searching by looking at index.php in both the root and template, and you should find the virus code at the very beginning of the file. Search through the website's files for text with a similar code written in base64.

It is important to thoroughly search and remove the virus from all areas. Additionally, find out how the vulnerability was exploited and patch it up. Check the logs for any modifications made to files and look for a possible hacking point based on the date.

Update the website's engine to the latest version, including JCE or JCK if applicable, since they are both vulnerable and the vulnerabilities are fixed in the latest versions. Also, update all of its components.

Change passwords for the admin panel, ftp, etc. Avoid storing them on file managers or browsers; enter them manually each time and ensure they are not easy to guess.

Afterward, the website should be inspected and recommendations made to improve its security in the future.

 Cybersecurity is critical in today's digital landscape. Websites face constant threats from hackers seeking to exploit vulnerabilities and steal confidential information. It is imperative to take necessary precautions to secure websites against such threats.


There are various reasons why a hidden redirect may appear on a website, such as if the webmaster set it up themselves, or if malicious scripts unknowingly stole traffic. In some cases, attackers may hack the site and redirect traffic to steal personal data or money from bank cards.

To address a hidden redirect on a site, it is important to determine the cause. If the site was hacked, try restoring it with working backups and contact the hosting provider to check for viruses. Search for malicious elements, such as in .htaccess or .js files, and update passwords for hosting, FTP, admin panel, and database.

If widget scripts are to blame, delete any third-party plugins or elements that may be triggering mobile traffic redirection. Check if the CMS and plugins are up to date and select licensed solutions from official sources.

Finally, to prevent future redirects, work on improving website security by reducing vulnerabilities. This can include updating all software, selecting secure CMS and plugins, and regularly backing up the site.

It's crucial for website owners to prioritize cybersecurity and take proactive measures to protect their sites. By remaining vigilant and staying up to date on the latest threats, we can minimize risks and ensure a safe digital experience for ourselves and our visitors.


Redirecting or redirecting a visitor to another page is normal. For example, the site maybe a mobile version on a subdomain . If a user on a smartphone goes to the site in the output, it will automatically transfer to the mobile version.