When using the live link preview on mobile the background images are not showing
Steps to reproduce
Open live link preview on mobile
Describe your environment.
- What Operating System are you using? Apple iPhone
- What versions of site software (Nginx, Apache, PHP, MySQL) is used?
- What version of Local is installed? Latest version
Please provide your Local Log. See this Community Forum post for instructions on how to do so:
Include any screenshots or video recordings of the issue to help others reproduce.
Nick here following up on your support request!
Live Links don’t match your Local Site URL (ie: mysite.local), so Local attempts to rewrite these on the fly. Live Links is broadly compatible with many themes, plugins, and custom code snippets. However, some images, front-end assets, or other HTML elements may be missing from your site when viewing it over Live Links. You could try checking for any mixed content and fixing it up with the tips below:
Run the following WP-CLI command
wp search-replace 'SITEURL' 'LOCALURL' --skip-columns=guid
Replace SITEURL with your production URL like https://localwp.com
Replace LOCALURL is your Local Site URL like http://mysite.local
Trust Local’s SSL certificate
Disable certain types of plugins: caching, security, force HTTPS/SSL
You might also need to check for any plugin or theme cache that needs to be cleared:
Keep us posted and we’d be happy to help further!
I found if I change my preview on my computer to mobile view - the live link preview on my mobile works.
Hi there @support_local -
Awesome, thank you for sharing what worked for you. Did you need any more support here or are we all set to close this thread?
All good thank you
Marketing Administrator | Cater Group Pty Ltd
Please consider the environment, before printing this email.
This e-mail is for its intended recipient only. If this e-mail has been sent to you in error, or contains privileged or confidential information, or the contact details of other persons, then you must not copy or distribute this information and you must delete the e-mail and notify the sender. Any views expressed in this communication are those of the individual sender, except where the sender specifically states them to be the views of Cater Group. Except as required at law, Cater Group does not represent, warrant and/or guarantee that the integrity of this communication has been maintained nor that the communication is free of errors, virus, interception or interference.
This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.