• CallMeAndy

    (@callmeandy)


    I have used Duplicator plugin successfully to mirror a remote hosted wordpress site to a local dev stage. As part of the process you state the domain required on the new stage, and the plugin changes the database records as appropriate. For me the change was to replace https://adventurebods.com with localhost/adventurebods

    This worked perfectly OK after fixing some differences with the Apache server config.

    However performance on localhost is dire for some reason yet to be resolved but I read somewhere that if you use the IP as opposed to the name, what could be a significant latency overhead could be removed.

    So I tried again, using https://127.0.0.1/adventurebods but when I put this in the address of the browser it redirects simply to https://127.0.0.1 and it also applies to the login / admin page etc

    htaccess issue or what? The site in question is multisite, and another raw non-multisite works without the redirect.

    I have this in my htaccess

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /adventurebods/
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /adventurebods/index.php [L]
    </IfModule>
    # END WordPress

  • The topic ‘Unwanted 127.0.0.1 redirect!’ is closed to new replies.