WordPress.org

Support

Support » Installation » What is wrong with my htaccess file?

What is wrong with my htaccess file?

  • I have been using pingdom.com to improve my site performances.
    The problem I find is my server response time is too long. It takes about 1.1 seconds to start downloading the index page, and the page is downloaded in 500ms. Can please someone look at my htaccess file/code below and give me some advice what i´m doing wrong?
    The server response time shouldn’t be more than 200ms?
    My .htaccess file looks like:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    order allow,deny
    deny from 178.63.220.12
    deny from 95.155.69.104
    deny from 178.63.38.25
    allow from all
    ExpiresActive On
    ExpiresDefault A0
    ExpiresByType image/gif A2592000
    ExpiresByType image/png A2592000
    ExpiresByType image/jpg A2592000
    ExpiresByType image/jpeg A2592000
    ExpiresByType image/ico A2592000
    ExpiresByType text/css A2592000
    ExpiresByType text/javascript A2592000
    Options +FollowSymLinks
    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^84\.215\.167\.145
    RewriteRule (.*) http://escorthome.eu/$1 [R=301,L]
    Options All -Indexes
    <files .htaccess>
    Order allow,deny
    Deny from all
    </files>
    <files readme.html>
    Order allow,deny
    Deny from all
    </files>
    <files install.php>
    Order allow,deny
    Deny from all
    </files>
    <files wp-config.php>
    Order allow,deny
    Deny from all
    </files>

    ————–
    Thank you for all comments.

Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘What is wrong with my htaccess file?’ is closed to new replies.
Skip to toolbar