Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: xJamie on June 23, 2014, 01:47:19 PM

Title: SMF Redirection
Post by: xJamie on June 23, 2014, 01:47:19 PM
Hey, why is my SMF forum redirecting to another website?

My website is: http://pwnxile.cm/index.php

Thanks!
Title: Re: SMF Redirection
Post by: mashby on June 23, 2014, 01:53:07 PM
Hmm. This:
http://pwnxile.cm/index.php
Goes here (doesn't redirect):
http://pwnxile.cm/index.php
What is your experience redirecting you to?
Title: Re: SMF Redirection
Post by: xJamie on June 23, 2014, 02:11:38 PM
Quote from: mashby on June 23, 2014, 01:53:07 PM
Hmm. This:
http://pwnxile.cm/index.php
Goes here (doesn't redirect):
http://pwnxile.cm/index.php
What is your experience redirecting you to?

When some of my users go to http://pwnxile.cm, they get redirected to http//ownxile.cm.

I went on my friend's teamviewer and i went to http://pwnxile.cm and it redirected me to http://ownxile.cm..

So i clicked on "view source code" and i found this:
<meta http-equiv="refresh" content="0; url=http://ownxile.com/"/>

How do i remove it? Thanks
Title: Re: SMF Redirection
Post by: Deaks on June 23, 2014, 02:16:56 PM
look in the index.template.php of the theme

BTW I dont get redirected
Title: Re: SMF Redirection
Post by: xJamie on June 23, 2014, 02:19:22 PM
Quote from: Μπράιαν on June 23, 2014, 02:16:56 PM
look in the index.template.php of the theme

BTW I dont get redirected

In index.template.php of my theme i searched "OwnXile".. couldnt find anything :S
Title: Re: SMF Redirection
Post by: mashby on June 23, 2014, 02:23:12 PM
I would ask your friend what he might have installed on his computer/browser. Are you experiencing that? So far, two other random people aren't.
Title: Re: SMF Redirection
Post by: Deaks on June 23, 2014, 02:23:35 PM
try index.php in the root folder of your smf install.
Title: Re: SMF Redirection
Post by: xJamie on June 23, 2014, 02:30:17 PM
Quote from: Μπράιαν on June 23, 2014, 02:23:35 PM
try index.php in the root folder of your smf install.

"Can't find the text "ownxile""
Title: Re: SMF Redirection
Post by: Deaks on June 23, 2014, 02:31:47 PM
then you will need to check all your forum files but as mashby has said 2 people from different parts of world havent been affected :/
Title: Re: SMF Redirection
Post by: mashby on June 23, 2014, 02:36:35 PM
Autocorrect? Somehow I doubt it. I'm honestly thinking this is truly an isolated incident. Here's the interesting part:
QuoteI went on my friend's teamviewer and i went to http://pwnxile.cm and it redirected me to http://ownxile.cm..

So i clicked on "view source code" and i found this:
<meta http-equiv="refresh" content="0; url=http://ownxile.com/"/>
Considering the one starting with o doesn't even exist, did the source code you provided come from the one starting with the p? If it did, I would think we'd all be ending up on the one starting with o.
Title: Re: SMF Redirection
Post by: NanoSector on June 23, 2014, 02:38:01 PM
Some browsers have "Automatically fix mistyped words" functionality. "pwn" is often corrected with own.
Title: Re: SMF Redirection
Post by: Ninja ZX-10RR on June 23, 2014, 02:44:37 PM
No redirect here either. I am on Maxthon browser :)

After Nanosector's message it would be useful to know which browser redirected people are using and then Google how to disable that auto-correct for good.
Title: Re: SMF Redirection
Post by: xJamie on June 23, 2014, 02:47:51 PM
Quote from: NanoSector on June 23, 2014, 02:38:01 PM
Some browsers have "Automatically fix mistyped words" functionality. "pwn" is often corrected with own.

I don't think that is the reason why it redirects.

Recently I fired one of my developers. He back stabbed me.

Today I woke up to people saying the site redirects to http://ownxile.com...

The developer had access to my dedicated server and to the forum files.

Title: Re: SMF Redirection
Post by: mashby on June 23, 2014, 02:49:12 PM
OK, have a look in .htaccess? Have you made sure to remove any access points for your fired developer?
Title: Re: SMF Redirection
Post by: Deaks on June 23, 2014, 02:50:23 PM
also change all your site passwords so he wont have access
Title: Re: SMF Redirection
Post by: xJamie on June 23, 2014, 02:53:27 PM
Quote from: mashby on June 23, 2014, 02:49:12 PM
OK, have a look in .htaccess? Have you made sure to remove any access points for your fired developer?

Nothing in .htaccess.. i have also changed all the passwords.

the funny part is, whenever he goes to http://pwnxile.cm on FIREFOX, he gets redirected to http://ownxile.com

BUT, when he goes to http://pwnxile.cm on INTERNET EXPLORER, he doesn't get redirected....

Title: Re: SMF Redirection
Post by: mashby on June 23, 2014, 02:54:53 PM
I'm on Firefox, too.
Title: Re: SMF Redirection
Post by: NanoSector on June 23, 2014, 02:55:12 PM
If it were a problem in the files it would happen for everyone.

What browser are your members using?

I'm on Firefox as well, don't get redirected.
Title: Re: SMF Redirection
Post by: xJamie on June 23, 2014, 02:57:16 PM
Quote from: NanoSector on June 23, 2014, 02:55:12 PM
If it were a problem in the files it would happen for everyone.

What browser are your members using?

I'm on Firefox as well, don't get redirected.

Solved the problem. I replaced the wwwroot folder with one of my smf backup folders. but my members also had to clear their history to access the site..
Title: Re: SMF Redirection
Post by: xJamie on June 23, 2014, 02:58:00 PM
The problem is not solved.......

Whhen he went to http://pwnxile.cm after clearing his history he could access the site. When he refreshed the site, he got redirected to http://ownxile.com..

I am using CloudFlare and IIS for hosting my forum.
Title: Re: SMF Redirection
Post by: mashby on June 23, 2014, 03:01:30 PM
The problem is truly with your friend though. Have him get a new computer. OK, that's not realistic. Maybe clear his cookies for that domain?
Title: Re: SMF Redirection
Post by: Deaks on June 23, 2014, 03:03:30 PM
ask the user to reset his firefox

https://support.mozilla.org/en-US/kb/reset-firefox-easily-fix-most-problems
Title: Re: SMF Redirection
Post by: Ninja ZX-10RR on June 23, 2014, 03:06:09 PM
Everyone here is pointing out that only your friend has issues so maybe he should just reset his browser or try another one to see if the problem goes away or at least understand where the problem really is.
EDIT: Ninja'd by Runic  :-X
Title: Re: SMF Redirection
Post by: xJamie on June 23, 2014, 03:14:06 PM
Quote from: Μπράιαν on June 23, 2014, 03:03:30 PM
ask the user to reset his firefox

https://support.mozilla.org/en-US/kb/reset-firefox-easily-fix-most-problems

Nope, didn't work...
Title: Re: SMF Redirection
Post by: xJamie on June 23, 2014, 03:15:12 PM
Also this is not solved, why mark it solved?

This is not only happened with my friend, i repeat this is happened with almost all members on my forum..
Title: Re: SMF Redirection
Post by: Ninja ZX-10RR on June 23, 2014, 03:17:03 PM
Dude the problem is that none of us is experiencing what you say and only those ones are :( so it's obviously their problem and not SMF's...
Title: Re: SMF Redirection
Post by: Deaks on June 23, 2014, 03:18:59 PM
Jamie, you need to search every single file and to see if the misstype is listed, if its not in your files then issue isnt to do with smf.  Sorry, to be so blunt.
Title: Re: SMF Redirection
Post by: mashby on June 23, 2014, 03:19:53 PM
That developer you fired. When did that happen? What caused you to fire him? It's also entirely possible it's not happening to us because we aren't logged in. Wondering if you can check the file dates on the SMF files. If you think your fired developer did this, it likely happened shortly after you fired him?
Title: Re: SMF Redirection
Post by: xJamie on June 23, 2014, 03:35:37 PM
Quote from: mashby on June 23, 2014, 03:19:53 PM
That developer you fired. When did that happen? What caused you to fire him? It's also entirely possible it's not happening to us because we aren't logged in. Wondering if you can check the file dates on the SMF files. If you think your fired developer did this, it likely happened shortly after you fired him?

I fired the developer yesterday mainly because he was back stabbing me.

Alright, i found out if it. So me and my friend installed the google chrome browser on his computer over teamviewer. He was able to access the site and everything, but when he logged in, he got redirected to http://ownxile.com. When he opened a new tab and went to http://pwnxile.com, he still got redirected to http://ownxile.com

Try to register an account or login, I'm pretty sure you'll get redirected.

Why is this happening? How can I fix it?
Title: Re: SMF Redirection
Post by: Illori on June 23, 2014, 03:38:56 PM
without access to your server to look at all the files and the configuration we can guess all day what the developer may have modified to cause this to happen.
Title: Re: SMF Redirection
Post by: Deaks on June 23, 2014, 03:39:41 PM
ok I can confirm that users are being redirected.  I registered with the name runic.

xJamie, would you be willing to give my account admin access on a temporary basis, so I can check your theme itself.  When finished I will remove the access, and I can assure you I wont look anywhere but theme settings :)
Title: Re: SMF Redirection
Post by: xJamie on June 23, 2014, 03:43:04 PM
Quote from: Μπράιαν on June 23, 2014, 03:39:41 PM
ok I can confirm that users are being redirected.  I registered with the name runic.

xJamie, would you be willing to give my account admin access on a temporary basis, so I can check your theme itself.  When finished I will remove the access, and I can assure you I wont look anywhere but theme settings :)

Account details sent.
Title: Re: SMF Redirection
Post by: Deaks on June 23, 2014, 03:52:50 PM
ok this was easy to fix when I saw more of the source, what your former admin had done was create a new block using simple portal that was a redirect to ownxile.cm, this block was set up to be seen by users and not guests this is why we didnt get redirected.

I have removed the block and removed the admin access from my account.
Title: Re: SMF Redirection
Post by: mashby on June 23, 2014, 03:54:37 PM
Nice detective work dude.  8)
Title: Re: SMF Redirection
Post by: Deaks on June 23, 2014, 03:56:27 PM
thanks :)

I would delete that former admins account just incase.