I am trying to add adsense code to a wordpress blog demonuts.com . I have put google code in the wordpress's TEXT WIDGET . But when I run the web site the url to .js, .css or .png file is changed in view page source.
For example original url to dashicon.min.css is ' http://demonuts.com/wp-includes/css/dashicons.min.css
but in view page source it is showing as ** http://demonuts.com/wp-includes/css/dashicons.min.x40477.css **
It is working for some css and js files but not for js file of google code.
Original google code in text widget : <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
code in view page source : <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.x40477.js"></script>
Questions
1.) From where does this x40477 is coming and why some files are still working?
2.) Google code is not working so how can I remove this x40477?
I am trying to solve this since 2 days. Plz any help is much appreciated. Thank you in advance!
Finally found the solution. There was a plugin called "W3 Total Cache", which was updating URLd. After deleting it, problem is solved.
If someone found same problem as I have, try to find plugin which is most likely to be reason for such problems.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.