https://jackieleeshow.kesug.com
this is my site and its being redirected to kamalas website. nothing I did or anything in my files that I can see. HELP!
https://jackieleeshow.kesug.com
this is my site and its being redirected to kamalas website. nothing I did or anything in my files that I can see. HELP!
I am being redirected to the 403 error page instead:
my site is being redirected to kamalaharris.com. there is nothing in my files causing this. all my pages are doing this.
(please share the FULL error message you see, if applicable)
(other information and details relevant to your question)
.htaccess file? Mis-configured CMS?
Look at line 37 of your homepage html:
<script>window.location.href='https://kamalaharris.com';</script>
This line redirects the site to “https://kamalaharris.com”
Can I suggest making sure you know exactly what your source does before uploading it, otherwise you’ll get things like this happen
Like I said in your other thread (please don’t create multiple threads for the same problem, it’ll only delay a good quality answer for you):
Looking at your homepage you’ve include the line:
<script>window.location.href='https://kamalaharris.com';</script
Which is whats doing the redirect. I can see that https://jackieleeshow.kesug.com/board/msg.php is working, along with all the images. So that would suggest its not an issue with your .htaccess file or a CMS. But those are still worth looking at as @Greenreader9 said, as they can have some funny behaviour
Did you use a template or code from a third party site?
No I do not use CMS and see nothing in my htaccess files other than the normal. I’m really puzzled. also I don’t see the redirect on line 37 of the source that has been mentioned,
What file do you see this on because I don’t see it?
I viewed the page source in my browser, and it was just there…
Can you upload the HTML file to something like Google docs so I can take a look?
–edit–
Since I’m told Google docs isnt good for reviewing code, can you upload your HTML file here or somewhere that we can download it so we can take a look and see if we can help
Ah! I totally understand why you are asking that, but google docs is not a text editor, and should never be used to write, edit, or read code.
OP, you should be able to drag and drop your index file into the editor here on the forum
Ok, I’ve never had any problems reviewing code on Google docs. Wouldn’t use it to write code, but never had a problem reading it myself. But I’ll willingly admit to not having done it often, and only with vb, python and cobol code.
I didn’t realize we could upload anything other than images in forum posts. I’m still learning my way round discourse
shoot. there were passwords in it. ugh. I need to do it tonight, I cant work on Chromebook.
I put it there and mad it sharable, I think you can read it or download it. let me know if not.
This is weird. As far as I know, Infinityfree does not modify the source code of the websites. I have few questions to ask:
If this is unintentional and if you’re not the one who have created the site, then probably somebody else has injected the redirection code to your website. Probably someone had unauthorized/malicious access to your website.
yes to PHP.
Someone was able to get the redirect script line into a text file thru a radio button form. I’m actually surprised that were able to do it because the $_GET goes directly mysql and not a parameter. i put exceptions in now to prevent it.
thanks for your replies.
I mean, THE website. But it doesn’t redirect.
wow… Thats both impressive and horrifying at the same time
Security is very important
Hopefully you can take this as a lesson learned!
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.