Thread Starter
cabl
(@cabl)
Hmmm … I don’t think so.
In your code file_permission != -2 means, that the hits from the admins are not counted?
Maybe the problem is connected with my wp migration from the /wp folder to the root. I tried to correct all the links but i’m not shure.
Is there a possibility to reinstall the plugin with the default settings without importing all files again?
Thread Starter
cabl
(@cabl)
I figured out, that the Nice Permalink makes the problem:
When checked, the hits are not counted!
(But the Link would look much nicer!
http://domain.com/folder/filename.pdf instead of
http://domain.com/?dl_name=folder/filename.pdf)
Is there a chance to fix it?
Thanx!
I see, that might be not possible to fix because your server will take the file “http://domain.com/folder/filename.pdf” over precenence over the PHP rewriting the files. Physical files will take priority when comes to permalinks.
Thread Starter
cabl
(@cabl)
But in my case it’s the other way round:
I have the physical file “http://domain.com/download/filename.pdf” which doesn’t work!
???
If you have a physical file at http://domain.com/download/filename.pdf, the hits will not be counted because it doesn’t go through this plugin. As mentioned, the physical file will take priority and hence it will not rewrite to this plugin to count the file and let you download it through the plugin.