How to change the piwik location after installing


#1

Currently I have installed my piwik at /root/public_html/app/piwik

I would like to move it to /root/public_html/piwik

Moving the entire folder alone would be fine, or some other settings need to changed as well?

Thanks


(Matthieu Aubry) #2

Moving folders is fine, as long as the URL does not change (example.org/piwik)

if URL changes you must also update javascript tracking code with new URL


#3

I have moved the folder (physically) and changed my URL accordingly
[ul]
[li] In the tracking script
[/li][li] And in places where I am using tracking API in the PHP code
[/li][/ul]

Everything is working fine. Thanks. B)