• Hello
    I developed a site in ASP for many years ago (2002). I’s a popular site for danish anglers, so i want to migrate to WordPress.
    The site has its own database, and i want to use that in the future. So i have to combine the new WordPress site’s database and the old sites database. I have that working.
    I have picked a good theme (GeneratePress) and made mySelf a child Theme based on that. The frontend looks god now – i still need som changes, but i dont expect it to be a problem.
    In the future WordPress will handle the user login, and new PhP code, will use the old database structures to CRUD the relevant data through WP.

    My biggest problem is, how do i organize my code. I access the old database with PhP, but I am really not sure, if i just should organize everything in my functions.php for the child-theme and supply data for my own widgets, from there?

    So my question is: Is there anyone who knows about documentation from others that has had a similar challenge?
    I can’t be the only one, who is migrating from an old site to WordPress. So I’m really interested if anyone has written anything about this in a Book, Blog or anywhere else.

    • This topic was modified 7 years, 5 months ago by styrmand.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hey styrmand,

    Migrations can be very painful, but it seems you are in the right track. There are many ways to organize your code and bring the right data and structure to WordPress.

    However, with WordPress you might want to build a custom plugin, if the functionality you want to have is very specific. You don’t want too much code for functionality living in your theme, because if you want to change themes in the future you can safely do so without breaking your site, or relying too much on your child theme. Therefore, although you can pack a lot of functionality within functions.php, you might want to create a custom plugin to handle part of your code.

    As to the second part of your question, there are lots of good content out there about migrations to WordPress. My suggestion would be to start with some video content on WordPress.tv: https://wordpress.tv/?s=migration. You can find great lectures with people explaining their experiences and case studies.

Viewing 1 replies (of 1 total)
  • The topic ‘Combining old site with WordPress’ is closed to new replies.