Site URL migration

Here is an example on how to move your comments after your posts are moved, from<slug> to<slug> in that example.

Rules file

First you have to create a rules file in remark's /var folder.

Format is simply old_url new_url like following:

Applying the remap

After rules file is ready, run the following command:

remark42 remap --admin-passwd <password> -f var/rules

If running in a docker container, the command becomes:

docker ps # to find the container name
docker exec -it <container> remark42 remap --admin-passwd <password> -f var/rules