vengavenga Posted August 2, 2004 Share Posted August 2, 2004 A client that I designed a site for has changed the name of her business, domain name etc and the "new" rebranded version of her site has been set up as a separate account. She's been using AWStats and wants to know if we can transfer the old stats over to her new site. Is this possible? Any pointers on how to do this would be much appreciated Cheers, Ali. Quote Link to comment Share on other sites More sharing options...
borfast Posted August 2, 2004 Share Posted August 2, 2004 Ali, I don't know if this works, it's just a thought that you can try if you want to but I don't guarantee it. AWStats stores the stats files under "/tmp/awstats". You can try to copy those files to the new site, into a directory with the same name. But since the filenames include the domain name, you'll probably have to rename them to include the new domain. Afterwards, just cross your fingers and wait untill the next update... Quote Link to comment Share on other sites More sharing options...
vengavenga Posted August 2, 2004 Author Share Posted August 2, 2004 Yes, thanks Raul - I thought of that too, but like you, I wasn't sure whether or not it will work so I thought I'd check first! Will wait and see if anyone else comes along who has tried it before and then probably give it a go anyway. Cheers, Ali. Quote Link to comment Share on other sites More sharing options...
purplespider Posted August 2, 2004 Share Posted August 2, 2004 Yup, it works, I've done it alot when moving my sites from previous hosts etc. Just copy all of the files in /tmp/awstats to your hard drive. There will be one file called "awstats.yourdomainname.com.conf" and stats files for each month called "awstatsMMYYYY.******.txt" with MM the month and YYYY the year. Just rename all the files changing the old domain to the new domain. In the conf file change the SiteDomain variable to your new domain and do a find and replace to chance all the instances of the old account username to the new account username. Then upload all the files to the new domains tmp/awstats folder and bingo, you should have your stats transferred. Its worked perfectly for me several times, let me know if you have any problems. James Quote Link to comment Share on other sites More sharing options...
borfast Posted August 2, 2004 Share Posted August 2, 2004 Thanks for the confirmation, James Quote Link to comment Share on other sites More sharing options...
vengavenga Posted August 2, 2004 Author Share Posted August 2, 2004 Yep, thanks James - much appreciated Ali Quote Link to comment Share on other sites More sharing options...
purplespider Posted August 2, 2004 Share Posted August 2, 2004 No problem, I like to help when I can! James Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.