souramoo / commentoplusplus

Commento with out of the box patches and updates to add useful features and fixes. Also with one-click deploy to Heroku so you can get up and running fast.
MIT License
389 stars 62 forks source link

Help using `data-page-id` after moving pages. #99

Open tylercecil opened 2 years ago

tylercecil commented 2 years ago

I'm actually using vanilla Commento, but figured I'd get more luck asking here.

I recently moved some pages, but wanted to preserve comments. Before the data-page-id attribute was unset. After the page move, I set data-page-id to the old URL. This didn't seem to work, unfortunately. Am I using data-page-id as intended? Is this something I'm going to be able to do, or should I simply export the comments, change the urls, and re-import?

Example Old URL: domain.com/posts/2020-01-01-postename.html New data-page-id: /posts/2020-01-01-postname.html

tylercecil commented 2 years ago

I ended up circumventing this issue. I exported data from commento, set up my own instance of commento++, regex-replaced the links before importing. I'm fine closing this ticket, but I would like the documentation on this feature to be updated (or just point out that I wasn't reading something obvious).