htaccess file corruption – advice needed

  • Author
  • #688825


    my websites are hosted with and it apears the file htaccess has been hacked and changed for the root directory.
    i have changed my password to the host ac and also removed the old htaccess file.
    it had this code in it which appears to be the problem when trying to click the site name from search engine searches it takes you to google only…

    the code was :
    # Use PHP5 Single php.ini as default
    AddHandler application/x-httpd-php5s .php

    # BEGIN WordPress

    # END WordPress

    can anyone tell me what the htaccess file should have in it?
    at present it is blank.

    many thanks for any help..


    Sorry, you need to head over to the forums as that is where self-hosted wordpress blogs using the software from wordpress.ORG are supported.

    These forums are for those hosted here on the wordpress.COM free hosting service and things here work differently.

    If you are not familiar with the differences, see this support document.

The topic ‘htaccess file corruption – advice needed’ is closed to new replies.