G
G
Greg Plitt2020-11-20 14:08:52
MySQL
Greg Plitt, 2020-11-20 14:08:52

How to change URL from \ to / everywhere?

The question is, the site is full of image inserts of this kind

<img src="/images\IMG_0440.JPG" .....

. Can I somehow change everything from /images\ to /images/ ?

If there is a ready solution through .htaccess that would be great. As a last resort, as I understand it, through phpmyadmin you can do autocorrect everywhere?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stalker_RED, 2020-11-20
@bit24yes

UPDATE images SET src = REPLACE(src, '/images\\', '/images/')

Why "in the extreme"?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question