Solved

Edit WP Site in Firebug

Posted on 2013-01-30
7
264 Views
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.
0
Comment
Question by:xmouser
  • 3
  • 2
  • 2
7 Comments
 
LVL 82

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.
0
 

Author Comment

by:xmouser
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.
0
 
LVL 82

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.
0
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 
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
0
 

Author Comment

by:xmouser
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?
0
 
LVL 16

Accepted Solution

by:
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
0
 
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
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

WordPress is constantly evolving, and with each evolution appears to get better and better.  One of the big drawbacks prior to version 3 was that there was no way to be able to set up a custom menu from the backend. The Old Way Adding menus is…
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…
The purpose of this video is to demonstrate how to manually back up a WordPress Database. This will be demonstrated using a Windows 8 PC. The Host used will be IPage.com Log into your Hosting account. IPage will be used for demonstration : Locat…
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…

708 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now