[TYPO3-english] question about transferring typo3 site

bernd wilke t3ng at bernd-wilke.net
Thu Dec 6 11:11:50 CET 2012


Am 06.12.2012 10:07, schrieb tom:
> Hi,
>
> I am transferring a typo3 site from  site A(a.com) to site B(b.com), this
> is how I did:
> 1. transfer all the folders and files to b.com.
> 2. import database to b.com.
> 3. edit localconf.php
> $typo_db_username = ‘user_name’;        // Username of the newly created
> database.
> $typo_db_password = ‘password’;           // Password for newly created
> database.
> $typo_db_host = ‘new.host’;                     // New host.
> $typo_db = ‘database_name’;                  // Newly created Database name.
>
> After this, I test the site, on the frontend of site, there is one loggin
> box which is for the registered user of the site, I logged in as an user,
> but it went into my old site(a.com), not the new site(b.com), so what could
> go wrong?

a) you forget a base-href/prefix definition which points to a.com
b) some links are hardcoded to the old domain (that might be 
HTML-Templates or typoscript-templates or even links in CEs)
c) you also transfered the cache and got cached content


a clean transfer might include only
fileadmin/*
typo3conf/* (adaption of DB-access in localconf.php! and without 
temp_CACHED*-files)
uploads/*

and the database without the cache-tables

typo3_src could be fetched from the usual places (as far as no 
modification has been done to the core)

bernd
-- 
http://www.pi-phi.de/cheatsheet.html


More information about the TYPO3-english mailing list