Support » Fixing WordPress » Script Tag (AdSense) won’t save in Text Widget (WordPress Mu 2.5.1)

  • I am using WordPress Mu 2.5.1 on,,,, and

    When I try to add adsense code to a text widget on my wordpress sidebar the script tag and the code within it gets stripped out. Text before and after the script tag is not affected (some information is successfully saved). This seems to happen with any script, not just AdSense code.

    I can only find one or two other similar problems. Most people seem to be able to include script tags in text widgets, which is how it should be according to WordPress.

    One similar problem I found was:

    But I don’t seem to get any error messages.

    Preliminary response from my host (HostGator) is that mod_security is not installed on my server.

    More information: does display google ads with a script in a text widget. I set up using the exact same theme template and tried the exact same script, but it will not save. These two blogs are set up the exact same as far as I can tell and use the same wordpress mu 2.5.1 installation. (p.s. the ads on come up in French. This is another mystery.)

    Any help would be really appreciated.

    p.s. I know these sites are all relatively new with relatively little content but I am 99% sure that is not the cause of this problem.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Script Tag (AdSense) won’t save in Text Widget (WordPress Mu 2.5.1)’ is closed to new replies.