Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Edit WP Site in Firebug

Posted on 2013-01-30
Last Modified: 2013-01-30
I found some IFrames that I want to delete. I can see them in FB but of course any 'editing' changes don't keep. How do I edit the site in FB if possible or some plugin from within the WP admin site?

I don't see an HTML tab when looking at the page from within WP.
Question by:xmouser
  • 3
  • 2
  • 2
LVL 83

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 100 total points
ID: 38837730
You can not successfully edit any website in Firebug.  Firebug only changes what is in your browser at that moment.

In addition, Wordpress is PHP site.  The content is generated thru the PHP programming language and fetched from a MySQL database.  The HTML you see in your browser is the result of that process.  Editing that HTML will not affect the web site although uploading it after editing it could crash the entire site because it over-writes all the code that currently makes it work.

To successfully make changes in your Wordpress site, you need to know PHP, MySQL, and CSS.

Author Comment

ID: 38837761
Yes but I'm seeing iframes that are directing visitors to other sites that I need to kill as I wrote in my question.
LVL 83

Expert Comment

by:Dave Baldwin
ID: 38837805
Then someone has probably infected your database.  If you don't know PHP and MySQL, you need to hire someone who does.  You can not fix this from your browser.
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

LVL 16

Expert Comment

by:Nenad Rajsic
ID: 38837864
If your theme comes from the net or you don't really know where it's from then you should know that wp theme downloads sometimes come with modified plugins or functions files which serve malware etc. You can start looking for iframe in your themes folder files then check any plugins that came with that particular theme and see if you can find it.

Don't bother searching for that url you can see through firebug because they are usually encoded. If you theme is legitimately purchased then check if there are any available updates.

Also see what plugins you are using and if there are any know vulnerabilities published for those plugins

Then disable plugins one by one>refresh page and see if the url disappears until you try all of them.

Last step would be searching through your database tables: you can search for iframe,encode,base64

hope that helps

Author Comment

ID: 38837888
So the iFrame is 'hard coded' and is not created on the fly as the page is opened? I should be able to actually see the URL by looking at the files with Filezilla > View/Edit?
LVL 16

Accepted Solution

Nenad Rajsic earned 400 total points
ID: 38837932
i had to fix a few installations in my time and the iframe tag was always "hard coded". If you search through all the files you should be able to find the iframe tag. urls are usually encoded and most of the time they include extra js files from external domains. if you can't find it then use phpmyadmin to search through your database
LVL 16

Expert Comment

by:Nenad Rajsic
ID: 38837939
i don't use filezilla so i can't help you with that. In Dreamweaver setup a test site with theme and plugins files and then go to edit>find and replace>
find in: entire current local site
search: source code

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Obtaining data on ASP 8 28
.htaccess css/images no longer loading 4 35
Show Ruler in Outlook 2010 STILL NOT SHOWING! 4 23
Set time on Session (ASP) 14 21
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Go t…

791 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question