Hi
I haven't made any changes but my web site is displaying code on the landing page. How do I get this removed please?
The site is
http://www.tnbtmag.com
Your help is much appreciated
Thanks,
Linda
Hi
I haven't made any changes but my web site is displaying code on the landing page. How do I get this removed please?
The site is
http://www.tnbtmag.com
Your help is much appreciated
Thanks,
Linda
Open the index file for the landing page and remove the code that's located just below the opening body tag, but you are going to want to find out where it came from. Possible javascript injection? Do you have access to your ftp logs? That might be worth taking a look at.
Maybe your hosting service can shed some light.
I'm not sure where the index file for the landing page is. I've gone through various files (php) in my c panel file manager but am not sure what I'm looking for. :( The files I check when I go to edit look like the below. Am I looking for the wrong thing? Apologies I'm very new at this...
The access logs say no records also
[Large code excerpt removed by moderator. Per forum rules, please use the pastebin for all large code excerpts. It works better anyway.]
If you are working with a developer while you still have the landing/coming-soon page in place, it might be wise to get them in on the issue. I don't see any redirects going on, so I'm going to say that the file you want has been named index.php while your site is in development, and placed in the root of your blog. I suspect that when you find the file, the contents will begin like this:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en" >
<head>
<title>TNBTMAG -Launching Dreams, Coming Soon</title>
<meta http-equiv="Content-Language" content="en" />
<!-- Style -->
<link rel="stylesheet" type="text/css" href="Styles/reset.css" />
<link rel="stylesheet" type="text/css" href="Styles/main.css" />
<link rel="stylesheet" type="text/css" href="Styles/grid.css" />
Right after the opening body tag, just a little farther down the page, you should see the code. You will want to look through all of your files, and maybe even go ahead and contact your host for information just in case it's an issue on their end.
I found the file. But the problem is gone now.
Thanks for your advice Clayton James.
This topic has been closed to new replies.