Audrius
December 11, 2023, 11:51am
1
How to force Cwicly to use relative path to images instead of full url?
Now creating a new website version on a different domain. https://new.domain.com When site will be ready, then domain will be switched to https://domain.com . How to fix all the paths in a quick way after the switching or how to set Cwicly to use relative paths only?
If you don’t use a dedicated migration tool for this, one option is to use a database find and replace tool, for example:
Easily Search and replace text, code blocks, URLs, footer credits, jQuery / Ajax loaded text or anything in real-time. Search replace in database too.
If you do use this method, it is a very good idea to create a backup and follow the instructions carefully.
Audrius
December 11, 2023, 12:40pm
3
This is what I do not want to do. Use tools to replace something in DB.
There are some plugins that do this although I can’t personally recommend any of them:
https://wordpress.org/plugins/search/relative+url/
One we did use on a few sites until recently is:
WPML Sticky Links prevents links between pages and posts from ever breaking, even if pages move and get renamed.
Est. reading time: 3 minutes
We stopped using this because of conflicts with this and some other plugins.
why not, i use it all the time when migrating domains. It’s fast and it always works for me.