WordPress.org

Ready to get started?Download WordPress

Forums

Error in moving wordpress (6 posts)

  1. superciccio14
    Member
    Posted 1 year ago #

    I need to move my WP installation from

    http://science4fun.org/test

    to

    http://science4fun.org/it

    on the same hosting.

    - I copied folder test into folder it
    - I performed a back-up of the old db
    - I used Search and Replace for WordPress Databases Script as written in moving wordpress tutorial, to replace http://science4fun.org/test
    with
    http://science4fun.org/it

    But now I found a problem. If I press on a link to a page on http://science4fun.org/it (i.e. "chi siamo") the page openend is the right page but of the wrong url (http://science4fun.org/test).

    The same problem occurs for article permalinks.

    How can I do to fix the migration.

    Thanks for the help.

  2. superciccio14
    Member
    Posted 1 year ago #

    PS: obviously I restored old db into the new one.

  3. Phil
    Member
    Posted 1 year ago #

    Check that site_name and Site_url in database table 'WP-Options' are the updated folder.

  4. pwhstacy
    Member
    Posted 1 year ago #

    Hello,

    Please confirm that you have changed wp-option path

  5. superciccio14
    Member
    Posted 1 year ago #

    Follow Up

    I reconfigure .htaccess changing "test" in "it"

    Now It works! : )

  6. superciccio14
    Member
    Posted 1 year ago #

    Hi, pwhstacy. Yes I changed!

    Now my .htaccess is

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

    Now is the migration complete?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.