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.
Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
This article shows the steps required to install WordPress on Azure. Web Apps, Mobile Apps, API Apps, or Functions, in Azure all these run in an App Service plan. WordPress is no exception and requires an App Service Plan and Database to install
The purpose of this video is to demonstrate how to Test the speed of a WordPress Website. Site Speed is an important metric of a site’s health. Slow site speed can result in viewers leaving your site quickly and not seeing your content. This…
The purpose of this video is to demonstrate how to update a WordPress Site’s version. WordPress releases new versions of its software frequently and it is important to update frequently in order to keep your site secure, and to get new WordPress…

717 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