Support » Fixing WordPress » Dupliacted WordPress site leads to 404

  • Resolved Creatrix


    I’ve just duplicated one of my wordpress sites (including the database but with a different table prefix than the original to keep them separate) and put it in a sub-folder.

    So my original site sits in and the duplicated site sits in

    When i go to the new address though i get a 404 error saying the page cannot be found?

    I believe this has something to do with the .htaccess file which currently looks like this:

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

    The domain also has an SSL if that makes any difference?

Viewing 3 replies - 1 through 3 (of 3 total)
  • esmi


    Forum Moderator

    How exactly did you do that?

    – Downloaded the original site and database
    – Locally changed the table name prefix
    – Imported the new tables into the existing database
    – Uploaded new site to sub-folder ‘/two’
    – added the ‘/two’ to .htaccess (seen above)

    and then next step is to update the links from to but i’m just getting a 404 when I visit the second domain.

    So effectively i’ve got two separate wordpress sites on the same domain using the same database (but with their own set of tables in each).



    Forum Moderator

    That process you used was incorrect. Please see Moving_WordPress.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Dupliacted WordPress site leads to 404’ is closed to new replies.