Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Embed Images URL change #4408

Closed
kimsonvu opened this issue Dec 7, 2024 · 2 comments
Closed

Embed Images URL change #4408

kimsonvu opened this issue Dec 7, 2024 · 2 comments

Comments

@kimsonvu
Copy link

kimsonvu commented Dec 7, 2024

Hi,

I moved my helpdesk to another URL. After that, all my email answers with embedded images old URL keep as old.

What do i need to do? Which table on Database or file config need to adjust?

@freescout-help
Copy link
Collaborator

There is no any automatic way to change them. You'll need to change URLs by editing messages in conversations or edit records in threads table in DB.

@kimsonvu
Copy link
Author

kimsonvu commented Dec 7, 2024

OK! Thank you for your comment. I login into phpadmin with threads table and replace body URL:

UPDATE threads SET body = REPLACE(body, 'https://newdomain.com/storage/attachment/', 'https://newdomain.com/storage/attachment/') WHERE body LIKE '%https://olddomain.com/storage/attachment/%' COLLATE utf8mb4_bin

I confirm it work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants