0
Welcome Guest! Login
0 items Join Now

after hack, reconstruction challenge

  • after hack, reconstruction challenge

    Posted 15 years 2 months ago
    • Hi,
      I am rebuilding my Joomla! sites after having been hacked and I am running into a challenge. In the past I have moved sites from one server to another by zipping up the site with JoomlaPack, downloading the MySQL file and installing them on the new server after creating a new db, importing the .sql, and renaming the paths and password in the config.php file. I am doing that again with my backups, but am running into
      Database Error: Unable to connect to the database:Could not connect to MySQL
      even though I have retyped the $db, $user, $password, log and temp paths several times.

      If someone would point me in the rigt direction for what I am missing I would be very grateful.

      www.nfcoop.com
  • Re: after hack, reconstruction challenge

    Posted 15 years 2 months ago
    • Update, the password was wrong, now it is working. I am still interested in any comments. Or my sincere condolences if you are looking at this after being hacked.

      Josh
    • Ben Lee's Avatar
    • Ben Lee
    • Elite Rocketeer
    • Posts: 4193
    • Thanks: 42

    Re: after hack, reconstruction challenge

    Posted 15 years 2 months ago
    • Hacks can be in files and in the database. Be careful about just loading your site up in a new location...it could still have the hack code present.
  • Re: after hack, reconstruction challenge

    Posted 15 years 2 months ago
    • Thank you Ben,
      the back up I used was from before the hack. I have been able to place my configuration.php files in a folder above the public_html folder for added safety.
  • Re: after hack, reconstruction challenge

    Posted 15 years 2 months ago
    • Sorry for posting here, but nobody is responding to my earlier posting. It seems like there are people checking this one.

      I posted in the forum, but nobody is responding. I just installed the solar sentinal theme at galtmilenews.com. I am trying to submit to search engines, and it is saying that it is blocked by the robots.txt file. I can't find that file to unblock it. Second, the following meta tag with a no follow attribute is there and I can't find it to delete it. I WANT SEARCH ENGINES TO CRAWL MY SITE! How do I delete this?

      <meta name='robots' content='noindex,nofollow' />

      Thanks
      Nick
    • Ben Lee's Avatar
    • Ben Lee
    • Elite Rocketeer
    • Posts: 4193
    • Thanks: 42

    Re: after hack, reconstruction challenge

    Posted 15 years 2 months ago
    • It sounds like you either have a robots.txt file other than the Joomla one, or you are dealing with some wrong advice from the search engine.

      You'll find the file in your main Joomla directory. If you installed Joomla in /public_html/ you find /public_html/robots.txt.

      As for the content of this file, it should look like this...
      User-agent: *
      Disallow: /administrator/
      Disallow: /cache/
      Disallow: /components/
      Disallow: /images/
      Disallow: /includes/
      Disallow: /installation/
      Disallow: /language/
      Disallow: /libraries/
      Disallow: /media/
      Disallow: /modules/
      Disallow: /plugins/
      Disallow: /templates/
      Disallow: /tmp/
      Disallow: /xmlrpc/

      Removing this doesn't allow a search engine to search your site's pages, it allows a search engine to go through your files. This is not a good thing and has nothing to do with your sites content. Your sites content in in the database, not these files.

      The meta information can be found in "Global Configuration".
  • Re: after hack, reconstruction challenge

    Posted 15 years 2 months ago
    • this is not joomla. this is a wordpress theme. there is not robots.txt in the public_html folder. can't find it. I still can't find this meta tag: <meta name='robots' content='noindex,nofollow' />. I have looked in the header.php file, index.php. I can't find it either.
    • Ben Lee's Avatar
    • Ben Lee
    • Elite Rocketeer
    • Posts: 4193
    • Thanks: 42

    Re: after hack, reconstruction challenge

    Posted 15 years 2 months ago
    • Your best bet for help is to post in the correct forum for the template you are using. If you aren't getting answered on another topic you've opened and it's in the right section, instead of opening up more topics or using others, just put a link to the topic that should be used.
    • Kat05's Avatar
    • Kat05
    • Preeminent Rocketeer
    • Posts: 25898
    • Thanks: 334

    Re: after hack, reconstruction challenge

    Posted 15 years 2 months ago
    • galtmilemedia wrote:
      this is not joomla. this is a wordpress theme. there is not robots.txt in the public_html folder. can't find it. I still can't find this meta tag: <meta name='robots' content='noindex,nofollow' />. I have looked in the header.php file, index.php. I can't find it either.
      hi there,

      i have added a reply to your original post here:
      www.rockettheme.com/forum/index.php?f=92..._v=viewtopic#p455552

      kat :)
    • Kat05 / QA Lead & Support / Germany
  • Re: after hack, reconstruction challenge

    Posted 15 years 2 months ago

Time to create page: 0.293 seconds