Unable to add scripts (like Adsense) to widgets in WordPress (ConoHa)

This article can be read in about 2 minutes.
PR

The purpose 

Adding a script (like AdSense) to a widget (custom HTML, ads, etc.) in WordPress

The “Apply” button at the top doesn’t show the loading indicator (spinner), or it shows the loading indicator but doesn’t complete.

PR

Website security changes (ConoHa)

Change setting

Here’s how we’ll change the site security settings:

Access your ConoHa control panel.

Go to “Site Management” -> “Site Security” -> “WAF” tab.

From the list of blocked attacks displayed, find the log entry recorded when a script was attempted to be added to the widget.

The attack type is “Cross-Site Scripting…”. Verify the time, IP address, and attack details.

Once you’ve identified the correct log entry, click the “Exclude” button.

ConoHa requires per-domain settings for multiple domains (including subdomains).

Result

You can now add scripts (e.g., AdSense) to widgets (e.g., Custom HTML, ads).

comment

Copied title and URL