WordPress.org

Ready to get started?Download WordPress

Forums

What is wrong with my htaccess file? (9 posts)

  1. Cyborg Feelings
    Member
    Posted 2 years ago #

    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.

  2. Pioneer Valley Web Design
    Member
    Posted 2 years ago #

    Are you on a shared host?

  3. Cyborg Feelings
    Member
    Posted 2 years ago #

    Sorry, I'm not sure what you mean by that? I´m hosting 3 sites on same IP/Server could that be a problem? A server is supposed to handle more than 1 domain?

    If I remove the .htaccess file from this installation then i got server error 500 which load within 200ms. So the server respons is quite quick if there aren't a .htaccess file. That confuses me.

  4. Pioneer Valley Web Design
    Member
    Posted 2 years ago #

    So this is a 'your' server and not at a web host?

  5. Cyborg Feelings
    Member
    Posted 2 years ago #

    Yes, I have my own web server:
    Web Server: Apache/2.2.20 (Unix) mod_ssl/2.2.20 OpenSSL/0.9.8r DAV/2 PHP/5.3.6 mySQL + phpadmin etc..

  6. Pioneer Valley Web Design
    Member
    Posted 2 years ago #

    Would you like us to consult your web host?

  7. Cyborg Feelings
    Member
    Posted 2 years ago #

    I´m quite sure that its something wrong with my .htaccess file. That's why the server response time is too long.

    My other test/development sites like:

    1). http://shabazdad.com have server response time: 80ms !!
    http://tools.pingdom.com/fpt/#!/Lay2ZwdQj/shabazdad.com

    2). http://datastorage.no have server response time: 260ms
    http://tools.pingdom.com/fpt/#!/ul5WBxDGv/datastorage.no

    3). http://callgirlbook.eu have server response time: 220ms
    http://tools.pingdom.com/fpt/#!/qZfvgmjWD/callgirlbook.eu

    4). http://escorthome.eu have server response time: 980ms
    http://tools.pingdom.com/fpt/#!/ySGPFiGuz/escorthome.eu

    ---
    site nr 2, 3 and 4 are using WordPress but the difference shouldn't be so big in server response time? (the server response time is the time it takes before the actually page get start downloading)

    "Would you like us to consult your web host?"
    Who is US? Is this a pay site or you will give me advice for free?

    Thank you for all your help.

  8. Pioneer Valley Web Design
    Member
    Posted 2 years ago #

    Yes, I have my own web server:

    Would you like us to consult your web host?

    I repeat my response.

  9. Cyborg Feelings
    Member
    Posted 2 years ago #

    I repeat my response:

    Who is US? (are you a team/company?)
    Will you help/advice me for free?
    Or you require fee for that?

    How would you like to do that? and what will you require to do so?

    I have checked my server access_log and error_log and cant find any problems. My other 2 WordPress installations works great on same server. The only difference is the htaccess file that may cause this delay in response time.

    Why do you think its something wrong with my server? The htaccess file looks ok for you?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.