WordPress.org

Ready to get started?Download WordPress

Forums

.htaccess is confusing - redirect issues (2 posts)

  1. csburdick
    Member
    Posted 2 years ago #

    I've been having some strange intermittent redirect issues and timeouts causing problems on my WP dashboard and causing slow loading times. My host (Wiredtree) narrowed it down to htaccess rules (seeing redirect timeouts in the logs.) I looked into my htaccess, which I only modified myself to include some 301s and found quite a bit more that I can't decipher. I'll paste the htaccess below (minus my 301s) - is there anything in here that could cause issues? I have no clue what any of this means or what plugins may have added it. I had W3TC but have since deactivated it:

    # BEGIN HGDENY
    # order deny,allow
    # allow from 216.110.94.228 ##HTX
    # allow from 74.202.255.243 ##ATX
    # deny from all
    # END HGDENY

    # BEGIN HGDENY
    # order deny,allow
    # allow from 216.110.94.228
    # allow from 74.202.227.55
    # allow from 75.189.158.29
    # allow from 216.110.94.228 ##HTX
    # allow from 74.202.255.243 ##ATX
    # odeny from all
    # END HGDENY

    #RewriteEngine On
    RewriteCond %{HTTP_HOST} ^([a-z.]+)?automoblog\.net$ [NC]
    RewriteCond %{HTTP_HOST} !^www\. [NC]
    RewriteRule .? http://www.%1automoblog.net%{REQUEST_URI} [R=301,L]

    # 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

  2. csburdick
    Member
    Posted 2 years ago #

    Can anybody chime in here at all?

Topic Closed

This topic has been closed to new replies.

About this Topic