Posted: February 27, 2015 at 1:54 am
|
Hi, My wordpress settings are correct and both “siteurl” and “home” are correct in WordPress options table. I noticed that Event Espresso uses global variable “EE_IMAGES_URL” for getting image url, but I can’t find any place from Event Espresso settings where to change this. Thanks so much and have a nice weekend! -martti |
Hi Martti, How did you move from localhost to live? For example did you use a plugin, a migration script or search and replace strings within the DB? |
|
|
Just exported & imported database with PhpMyAdmin and then manually changed “siteurl” and “home” in WordPress options table. Usually this method works just fine. |
That method doesn’t update any of the details within the database. It will work for a standard WP install and some plugins, however if the plugin stores any of the URL’s to the database, they will still point to the original site and any plugins use serialized arrays it gets a little more tricky as you can not simply replace the urls with your new one. The codex has a guide on how to move WordPress here: http://codex.wordpress.org/Moving_WordPress And there is also a more detailed guide here: http://www.smashingmagazine.com/2013/04/08/moving-wordpress-website/ Notice when moving from local to live, both tutorials mentioned using the WP Search & Replace script which does most of the work for you and also safely updates serialized arrays. You can also use plugins such as WP Migrate DB from your local site which does something very similar and allows you to save a copy of the database with the updated URL’s that you can then import to your live site. |
|
|
Ok thanks, I have many WordPress sites, and normally that method works just fine. It depends how plugins are coded. There’s normally no need to save absolute url:s to database (in my opinion this is not clean code) . You could always generate absolute url’s using options table’s “siteurl” and “home” values and moving from development to production would be much easier… |
|
I used this tool as you told and it worked 🙂 Thank you so much. https://interconnectit.com/products/search-and-replace-for-wordpress-databases/ |
Thanks for sharing how you fixed the issue. If you need help with anything else, just create a new support post: https://eventespresso.com/support/forums/ Enjoy your weekend. — |
|
The support post ‘Some of the Event Espresso default images not shown after moving to production.’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.