WebPagetest Forums
https://cigarleisure.com 404 - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: Web Performance (/forumdisplay.php?fid=3)
+--- Forum: Discuss Test Results (/forumdisplay.php?fid=4)
+--- Thread: https://cigarleisure.com 404 (/showthread.php?tid=15125)



https://cigarleisure.com 404 - Andy5000 - 11-09-2017 05:58 AM

Trying to trace what is calling https://app.cigarleisure.com/focus/2.js

Any suggestions other than inactivating plugins one by one? The referrer info here doesn't seem to help.
https://www.webpagetest.org/result/171108_43_723ee61553b58f3a369cb950c78fb5c3/1/details/#waterfall_view_step1


RE: https://cigarleisure.com 404 - pmeenan - 11-09-2017 07:18 AM

There is some js at the end of the html:

<script src="//app.cigarleisure.com/focus/2.js" type="text/javascript" charset="utf-8" async="async"></script>

If it's not part of your template code it is being injected by a plugin and there's not going to be a good way to tell from the outside.


RE: https://cigarleisure.com 404 - Andy5000 - 11-09-2017 08:03 AM

Thanks-always go for the easy one first. I looked through all the plugin assets-not there but it was in footer.php where I didn't expect it.

Looks like some one botched adding some Facebook tracking.


RE: https://cigarleisure.com 404 - dfavor - 11-16-2017 03:07 AM

The easy way to determine this is ssh + on the command line.

cd DocumentRoot
find . -type f -exec egrep 2.js {} \;

This will give you the answer in a few seconds.

If you can't do this, open a ticket with your hosting company.