• Hi,
    We noticed our site was down today and called our hosting company to see what happened. They found the .htaccess file had a redirect coded into it to try and make it point elsewhere. Only 3 of us have access to the hosting dashboard and WP site. And none of us did this. Is it possible for someone like Google to access that file via our Adwords account? And why would anyone want to?

Viewing 1 replies (of 1 total)
  • Thread Starter TGoedde

    (@tgoedde)

    Correct:
    # Use PHP5.4 Single php.ini as default
    AddHandler application/x-httpd-php54s .php
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    What crashed the site:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    Rewrit# BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

Viewing 1 replies (of 1 total)
  • The topic ‘.htaccess file altered’ is closed to new replies.