Forums

Duplicate a website (2 posts)

  1. pausims
    Member
    Posted 2 years ago #

    Hi,

    I want to create a website in two different languages. As the content must be totally different in each language, I decided to have two separate installations of WordPress in the server, one for each language.

    I started making the website in the first language (Catalan) in myserver.com/cat and whan I've finished I copied all the directory in the FTP and pasted it in myserver.com/cas (for Spanish)

    I also copied the entire database and I pasted it in a new database with a different name and replaced all the prefixes in each table.

    Then I edited the Spanish wp-config and pointed it to the copied database.

    Once I did all that, the links in the website still point to the catalan directory. Is there any file I should edit too?

    Thanks in advance,

    Pau

  2. pausims
    Member
    Posted 2 years ago #

    Ok, I solved this issue, I forgot I also had to edit the wp_options table to point to the new URL. Sorry!!

Topic Closed

This topic has been closed to new replies.

About this Topic