I've reinstalled WP and moved everything to different path /dev. Changed site url settings (home, site) in wp-options and refreshed Permalinks as well as added relevant .htaccess subdir.
All is fine apart of media library items. They're looking to non existing old location.
Is there any way of updating url for media library items? Is the whole url stored in db or is possible to make an update for main url.
CDN might be a solution but I'd like to keep it on the main server for now.
Thanks,
I would like to share a plugin link that i personally use to resolve this problem for media url. Here the plugin url.
https://wordpress.org/plugins/search-and-replace/
Just install that plugin and find all the item which having old url and by enterning old url in search field and in the replace field enter the new server url.
hope this will help to resolve the problem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With