WordPress. from litespeed to ngix server.
All of my links to plugins, images CSS and scripts added "%20" on the end. Example:
https://example.com%20/wp-content/plugins/wp-maintenance-mode/assets/css/style.min.css?
I assume the solution would be to change all "example.com%20" to "example.com" in the database. What would be the correct query to put in phpmyadmin?
2
Answers
Found the solution, was a trailing space in wp-config.
You can use
replace()
:You have to be a little careful if
'example%20'
were ever in the data before the change (i.e. is correct). However, that is unlikely in this case.