Hi @panos_m, Looks like some of the slideshow values are still pointing to your localhost. This is why the icons wouldn’t be showing. Did you run a “search & replace” script when transferring your site to your live domain?
It’s important to swap the old “localhost” domain’s in the database with the new live domain. WordPress doesn’t do this for you.
Hi MatthewRuddy,
thank you for your reply. No i didn’t run a search and replace script when i transfering the site to live domain. I run these two sql commands in the database:
UPDATE wp_posts SET guid = replace(guid, 'http://www.oldsite.com','http://www.newsite.com');
UPDATE wp_posts SET post_content = replace(post_content, 'http://www.oldsite.com', 'http://www.newsite.com');
What script do i have to run now in the database to solve the problem? Any help?
Best Regards,
Panos
Try running an additional SQL query on the wp_options table. The same replace command should do the trick (on the “option_value” column).
What command should i use? The first again?
Give this a try (haven’t tried it but should work):
UPDATE wp_options SET option_value = replace(option_value, 'http://www.oldsite.com','http://www.newsite.com');
I run the sql query but didn’t work. Anything else i can do?
Did you change the www.oldsite.com
? I’m not sure what else to suggest: there is a guide on transferring WordPress between domains here. Important that it is followed to ensure everything goes to plan.
Yes i have change it. The strange think is that 1) in the firefox and chrome looks ok and 2) i move another domain this way and never this happened before.
In Chrome for me it looks incorrect. Might be a cached version of the site you’re seeing. I’m not seeing any arrows at all.
I find in the wp_options table that exactly what you are saying{"arrows":{"next":"http:\/\/localhost\/marbles-granites\/wp-content\/plugins\/easing-slider\/images\/slideshow_arrow_next.png","prev":"http:\/\/localhost\/marbles-granites\/wp-content\/plugins\/easing-slider\/images\/slideshow_arrow_prev.png","width":30,"height":30},"pagination":{"inactive":"http:\/\/localhost\/marbles-granites\
But i don’t know how to change this. Any help?
Maybe try editing it manually? Just change localhost
for your live domain.
Yes i change the first and it works! Thank you. I can’t imagine the sql comand for do it auto although, because i am going to move it again.
I’m sure with some tweaks the SQL command can be made to work. I haven’t actually tried it myself.
No worries, happy to help π
Never mind no big deal. Thank you for your great support and the quick help.
It’s good that this is resolved, but I think you guys were over-complicating it with SQL commands etc. You could’ve just change the old domain from the Customizer within the plugin’s menu. There, you’ll find URL fields for entering the path to the next/previous arrows. You’ll find the current value something like “localhost/olddomain/...
” just change the localhost
part to the domain of the live server π