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
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
  • 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.
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

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.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
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 viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

734 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