• So here’s the deal…

    I’ve designed a custom theme for a client. I’m currently working through XAMPP on my local machine, but am ready to migrate the theme to the client’s hosting server (GoDaddy).

    My client already has a WordPress install for their existing site. I tried simply uploading my custom theme folder, but it didn’t look pretty. I started with the Starkers theme and have a custom ‘includes’ folder for sidebars, etc. Do I need to remove the previous WP install and start fresh?

    What’s the best method of moving a WP theme from a local machine to a live server?

Viewing 7 replies - 1 through 7 (of 7 total)
  • For a theme, uploading just the theme folder should suffice..unless you have changed files outside of this or are accessing external files and so on, try to think of what might be different.

    Remember to use template tags to avoid absolute links.

    Thread Starter orbital2000

    (@orbital2000)

    I’ve exported the mysql db I had created on my local server. I then went into my client’s godaddy hosting, dropped the db tables, and imported my db from the local machine. All of my information was carried over – worked like a charm.

    BUT, when I go to /wp-admin it still connects to my localhost. I know I’m missing something obvious and I feel like an idiot.

    Can someone help?

    Thread Starter orbital2000

    (@orbital2000)

    bdeaton108-

    what did you mean by your comment re: absolute links?

    let’s say for instance, you were using an image somewhere in your template. You obviously don’t want to have this link:

    https://yoursite.com/wp-content/themes/yourtheme/image.jpg

    Right? Instead you can do this:

    <?php bloginfo('template_url'); ?>/image.jpg

    Make sense.

    Also, the problem you are having, go into the database, click on wp_options and then edit siteurl and home

    Thread Starter orbital2000

    (@orbital2000)

    makes perfect sense…will give that a try (regarding images)

    i’ll also update the siteurl/home under wp_options and let you know if it works.

    thanks so much!

    Thread Starter orbital2000

    (@orbital2000)

    editing siteurl worked perfectly.

    thanks for the tips, much appreciated!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Moving custom theme from local server to GoDaddy’ is closed to new replies.