How to Cross-Update from Piwik to Matomo?

Hi! I used to run Piwik, then upgraded to Matomo, keeping the Piwik code and paths, but would now like to migrate to a “pure Matomo” code base and keep the Piwik URLs working via web server rewrites and redirects. I would like to avoid trashing my database. What is the best way to go about it? Or should I just stick with the “Piwik” branch of the code? I noticed, via recursive diff, that there are a large amount of differences between the Piwik and Matomo branch, and I’m not sure that was only a global search-and-replace of “piwik” for “matomo”.

Hi,

I’m not entirely sure what you mean with “Pure Matomo code base”. There are still tons of places in Matomo code called Piwik and there will be for quite some time as they can’t be changed as it would break compatibility with all Plugins and more.
Matomo 4.0 will definitely include more changes to this.

Apart from that you can rename your piwik.php and piwik.js URLs to matomo.php and matomo.js as both files exist since a few versions ago.