ngrmm Posted March 28, 2018 Share Posted March 28, 2018 i moved the whole site from a sub-dir into the root dir domain.tld/test/ -> domain.tld/ but now all inline images in ckeditor-fields have the old-urls (dmain.tld/test/….jpg) is there a way or a module to fix that? Link to comment Share on other sites More sharing options...
horst Posted March 28, 2018 Share Posted March 28, 2018 can you show a full url of an image please? Link to comment Share on other sites More sharing options...
ngrmm Posted March 28, 2018 Author Share Posted March 28, 2018 it's like <img src="/test/site/assets/files/1060/image.jpg"> and should be <img src="/site/assets/files/1060/image.jpg"> Link to comment Share on other sites More sharing options...
Christophe Posted March 28, 2018 Share Posted March 28, 2018 Perhaps the following could have helped? Google -> site:processwire.com/blog/ "Link abstraction" Admin > Setup > Fields > Edit Field: body Details (tab) -> Markup/HTML (Content Type) -> HTML Options -> Link abstraction: Update href attributes automatically when internal links change 3 Link to comment Share on other sites More sharing options...
dragan Posted March 28, 2018 Share Posted March 28, 2018 Maybe deleting everything inside site/assets/cache/ would also do no harm 2 Link to comment Share on other sites More sharing options...
ngrmm Posted March 28, 2018 Author Share Posted March 28, 2018 thanks everyone. i changed them manually, wasnt that much. but link abstraction is a nice feature! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now