Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore General Questions › Moving from Development/Test sites to new sites
Tagged: changing domain, moving site, moving to new site
- This topic has 10 replies, 6 voices, and was last updated 12 years, 8 months ago by admin.
-
AuthorPosts
-
April 14, 2010 at 5:23 am #1068Blue OwlSpectator
Hi,
I help people set up WordPress sites (with custom themes) and I can see the eStore, eMember and Affiliate Platform plugins will be useful to a lot of my clients.
I always set up a ‘test’ site on my own hosting account first, and then move it all over to my client’s hosting account (and domain name) when they’re happy with the way everything looks.
Moving a WP database with a lot of posts and pages is a bit of a hassle already, and I’m worried that if I put a whole lot of products (or membership levels with eMember, etc) on a test site, it will be even more painful to move it over and keep it all intact.
I’ve noticed that when I add a product to the test site, I put the whole url in for thumbnails and links – does it work with relative urls? That’s one thing I imagine I would have to find and replace when moving to a new domain.
What’s the best way to handle this situation?
April 14, 2010 at 7:42 am #19703amin007ParticipantThe best way is to use relative links. You can use relative URL in the image links as long as you keep the relativity of the location in respect to the page where the product will be displayed. Fore example, if the full image URL of the thumbnail image is:
http://www.tipsandtricks-hq.com/wp-content/uploads/images/Apple-Logo-48×48.png
and the product will be displayed on the following page (permalink structure is set to display post and pages immediately after the main domain):
then you can put the following relative URL in the “Thumbnail Image URL” field:
wp-content/uploads/images/Apple-Logo-48×48.png
As long as you have worked out the whole relative thing then it shouldn’t be an issue any more.
With that said, how is it any different than any image that is embedded on the post or pages of this demo site? won’t they have the full URL too? wouldn’t it be best to just do a domain replace in the database?
April 14, 2010 at 10:30 pm #19704Blue OwlSpectatorVery true. Thanks for clarifying that it’s really no harder than normal.
June 17, 2011 at 6:59 am #19705RinaldoMemberHow can one move estore or the products from localhost to a new site? I replaced the complete wp-content folder of the online site, but my product names are dispersed over the front page.
Thank you!
June 17, 2011 at 9:44 am #19706RinaldoMemberIt worked, thanks!
June 17, 2011 at 10:02 am #19707RinaldoMemberNo, it did not, it linked to the old site of course. So what can I do?
Thanks!
June 17, 2011 at 4:48 pm #19708wzpModeratorWhat specifically is not working?
March 4, 2012 at 2:10 am #19709ninjablogsetupMemberI am moving a site from a development domain to the live domain, so the url is changing from a subdomain to the root domain. I have no issues with moving WordPress sites and I am knowledgeable about accessing the database to replace all instances of the old url. However, are there any tasks specific to WP Affiliate or WP eStore that needs to be performed? Should the plugins be deactivated and then reactivated after moving the site? Will that alone suffice or are there other issues?
March 4, 2012 at 5:15 am #19710wzpModeratorAs a “best practice,” you should deactivate and then reactivating plugins; to ensure that all values are properly initialized.
March 4, 2012 at 9:59 pm #19711ninjablogsetupMemberThanks. I seem to remember running into this issue before with one of these plugins and had to change a url path manually in one of the plugin config files to fix it but I just wanted to check first. Hopefully, just the deactivate/reactivate will suffice.
March 5, 2012 at 12:25 am #19712adminKeymasterYou will need to change the URL values in your settings and product details too since the URL of the sub-domain and the main domain will be different.
-
AuthorPosts
- You must be logged in to reply to this topic.