1 post viewed, stats shows 2 posts viewed
I noticed that when I viewed pages of my WordPress website the access logs showed that I had viewed two webpages instead on just one webpage. I reported this in the WordPress forum https://wordpress.org/support/topic/1-post-viewed-stats-shows-2-posts-viewed/#post-9883704.
Unfortunately I have not been able to solve this problem even after changing and removing plugins, cleaning up the database, etc.
Then one day I decided to try viewing my webpage through Chrome (I am a FireFox addict) and the was no problem. When I used Chrome and viewed 1 webpage the server access logs showed that I had viewed one web page. Then I switched back to FireFox and viewed several pages and the access logs showed that for each webpage i viewed in FireFox there were two pages recorded as viewed.
What do I need to do so that when using Firefox the server access logs show only one page viewed instead of two? Please read the WordPress support posting to get a better description.
Toutes les réponses (4)
Today I confirmed that this problem occurs even on other servers. I originally saw the problem on Reseller Panel servers using Hepsia Control Panel but upon testing with InMotion servers using cPanel, the problems still exists. So it does not abppear to be server related issue.
I found out that when I use FireFox and viewed the last post, only one post is recorded as viewed. Unfortunately, if I view any earlier post, not the last published post in WordPress, the logs will always show that I viewed two posts.
When I used Opera, Internet Explorer or Chrome, I never had 1 WordPress webpage viewed but 2 recorded in the access logs. So this issue is not replicated using other browsers. It appears to be only a FireFox issue.
If FireFox trouble shooting staff need my WordPress database to reproduce my WordPress site on their servers to trouble shoot the problem I am willing to provide it to them.
Try to ask advice at the Stack Overflow forum site.
Today I decided to confirm that the issue was not related to the database or the plugins. So I deleted my temporary WordPress site and installed the latest version – WordPress version 4.9.6.
I did not install any plugins and created three posts, ‘step-one’, ‘step-two’ and ‘step-three’. The ‘hello-world’ post was not deleted.
Then I used chrome browser and looked at step-one webpage. After that I used FirFox to look at step-two web page.
See the access logs records below (I did not show all the records related to loading of these pages):-
——— access log revords ————
183.78.44.68 – – [20/May/2018:20:54:58 -0700] “GET /mytest/step-one/ HTTP/2.0” 200 57810 “https://drpetersnews.com/mytest/” “Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36”
183.78.44.68 – – [20/May/2018:20:10:18 -0700] “GET /mytest/step-two/ HTTP/2.0” 200 57803 “http://drpetersnews.com/mytest/” “Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0”
183.78.44.68 – – [20/May/2018:20:10:24 -0700] “GET /mytest/step-three/ HTTP/2.0” 200 57294 “https://drpetersnews.com/mytest/step-two/” “Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0”
———- end of records ————-
Chrome show one wep page viewed that is step-one web page, where as FireFox shows two pages viewed – step-two and step-three. It claims that I viewed step-three webpage too.
So it appears that the issue is not related to WordPress plugins or Themes an only to FireFox. Does this mean that if your visitors use FireFox, the search engines will think that your site has twice the number of visitors and improve your ranking?
Hi cor-el,
Thanks for recommending stackoverflow.com. I had not thought of that. I will give them a try but I think this is a FireFox problem and they need to look at the problem first.