Duplicating to a subdir with a similar name.
-
I tried to duplicate a site to another subdir with a similar name so that I could experiment.
Source: xyz.com/tbs
Destination: xyz.com/tbs01and now I cannot access the new site because the URLs generated are incorrect (https://xyz.com/tbs0101/…).
I think this is caused by the two search and replacements done by the installer.php process (but I could be wrong). If I look in installer-log.txt I see
————————————–
GLOBAL DB-REPLACE
————————————–
SEARCH1: ‘https://xyz.com/tbs’
REPLACE1: ‘https://xyz.com/tbs01’
SEARCH2: ‘/home/xyz/public_html/tbs/’
REPLACE2: ‘/home/xyz/public_html/tbs01/’
SCANNED: Tables:12 | Rows:2330 | Cells:14702
UPDATED: Tables:1 | Rows:255 |Cells:276
ERRORS: 0
RUNTIME: 1.004200 secDoes the second replace cause a second “01” to be added?
- The topic ‘Duplicating to a subdir with a similar name.’ is closed to new replies.