• .htaccess and wordpress 3.1 and apparently 3.3 redirect loop

    Cant vouch for this happening to everyone but seems that in some instances...
    The new WordPress configuration crash with the host record of the domain if it sets up using CNAME or Canonical Name.

    I discovered this when I decided to change my .htaccess file on an existing installation of WP. Its a pain as I am effectively locked out, luckily in my case I can just reinstall WP as its empty.
    You can read more here, as well as find a solution http://budip.com/index.php/wordpress...many-redirect/

    The solution of getting the original link from the host seems overly complex. You can simply edit your .htaccess file not to redirect
    Removing two lines that look like this should do it...
    RewriteCond %{HTTP_HOST} !=www.domain.com
    RewriteRule .* http://www.domain.com%{REQUEST_URI} [L,R=301]

    Now more curiously I set-up my redirect, tested it with basic html page and it worked great. However when I installed wp I was back in the loop of redirects.
    So why are more people not having this problem or is .htaccess redirect a redundant step with wordpress? Just seems weird more folks are not shouting about this apparent "glitch"

    Edit: Apparently new versions of wp handle .htaccess themselves and manage the redirects automatically. However this means that wordpress no longer plays so nicely with say an html or flash landing page?
    Now of course you can fix this by moving wordpress into its own directory but thats going to add a new level to navigation.
    I am thinking easiest may be just doing manual PHP Single Page Redirect on the html portions?

    Amazing how convoluted the information out there about this is.....I'll update when I settle on a fix or discover I am idiot.
    This article was originally published in forum thread: .htaccess and wordpress 3.1 and apparently 3.3 just a heads up. started by Slowdive View original post