Support » Fixing WordPress » WordPress migration and redirect loops

  • I’ve just copied my WordPress site’s index.php and .htaccess to the root of my domain from /blog/ so that it will appear in the root, while the files stay in a folder.

    The problem is that I’ve tried to create page called /blog for my posts to appear on, but it’s not working as I get a redirect loop instead.

    The .htaccess file of the root currently reads:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /blog/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /blog/index.php [L]
    AddHandler x-httpd-php5 .php
    AddHandler x-httpd-php .php4
    </IfModule>
    
    Redirect /Search-Engine-Optimisation-Consultant-CV-SEO-SEM-PPC-Analytics.htm/ http://seocv.co.uk/seocv.html
    
    Redirect /Search-Engine-Optimisation-Consultant-CV-SEO-SEM-PPC-Analytics.htm http://seocv.co.uk/seocv.html
    
    Redirect /blog/copy-of-the-proposed-congress-banking-bailout-bill/ http://www.marketappeal.co.uk/index.php
    Redirect /blog/links-information-straight-from-the-source-1549/ http://www.marketappeal.co.uk/index.php
    Redirect /blog/website-design-competition-prize-100-commercial-property-website/ http://www.marketappeal.co.uk/index.php
    Redirect /) http://www.marketappeal.co.uk/blog/index.php
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress

    That’s clearly a mess, which bit’s don’t I need please?

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘WordPress migration and redirect loops’ is closed to new replies.