• 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 .? https://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

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘.htaccess is confusing – redirect issues’ is closed to new replies.