The AdSense Locked Widget Hack Part 06 — WordsByEkta🌿

Article 6: The AdSense Widget Hack — How to Fix the "Internal Error" Blocking Your SEO

Introduction
In Article 5, we learned the crucial "Canonical Tag" fix. But for many Blogger users, a frustrating thing happens when you try to save that code. You click the save icon, and instead of a success message, you get a red box at the bottom of the screen:

"The widget settings in widget with id AdSense1 is not valid."

It feels like the "Ghost in the Machine" is actively stopping you from fixing your blog. Today, we’re going to delete those ghosts—specifically AdSense1 and AdSense2—to clear the path for your SEO updates.


1. Why Can’t I Just Delete This in "Layout"?

This is the most frustrating part for bloggers. If you go to the Blogger Layout tab and try to click "Edit" on an AdSense gadget, you will often find that the "Remove" button is missing. Blogger "locks" these widgets into the template.

Because you can't delete them the normal way, they stay hidden in the background, causing internal errors that block you from saving any new code. The only way to remove them safely is to go through the back door of your HTML.

Tip: Always make a backup of your theme before editing.

Quick backup tip: In Theme → Edit HTML, click the "Backup/Restore" button at the top right, then download your theme.

2. The Step-by-Step "Code Clean-Up"

We are going to find and remove the corrupted code blocks. This won't delete your articles; it simply clears out broken placeholders.

Step 1: Open the HTML Editor

Go to Blogger Dashboard → Theme. Click the arrow next to Customize → Edit HTML.


Step 2: Find and Delete the Villains

Click inside the code editor and press Ctrl + F (or Cmd + F). Search for AdSense1. Carefully highlight and delete the entire block of code from start to finish:

<b:widget id='AdSense1' ...>
...all the code in between...
</b:widget>

Repeat the search for AdSense2. Carefully highlight and delete the entire block of code from start to finish:

<b:widget id='AdSense2' ...>
...all the code in between...
</b:widget>

This is often hidden in the sidebar or footer. Delete the entire <b:widget> block for AdSense2 as well.


Step 3: Save (The Moment of Truth)

Click the floppy disk icon in the top right to save your theme. With the broken widgets gone, Blogger should finally allow you to save your theme HTML without errors.


3. Will This Affect My Future AdSense?

No! Many bloggers worry about this. Removing a "broken" widget placeholder does not hurt your chances of being approved for AdSense later. In fact, fixing technical errors makes your blog healthier. When you are ready for ads, you can simply add a fresh widget back to your layout—no coding needed.


4. Verify the Fix

  1. Refresh your blog to ensure the layout still looks correct.
  2. Return to Article 5. If you previously only removed AdSense widgets and did not add the Canonical Tag, now add the Canonical Tag correctly under the <head> tag and save it. It should save without errors this time.
  3. In Google Search Console, click Verify Fix for any redirect errors.
  4. Confirm: Your main .html link should now be the Google-selected canonical.

✅ Tip for beginners: Always test your main .html URL after editing — do not check the mobile ?m=1 version. This avoids confusion and ensures your Canonical Tags work correctly.

WordsByEkta🌿 Final Thought: I spent months wondering why my blog felt "stuck." It turned out these locked widgets were blocking progress. By clearing out these technical dead ends, your blog is finally healthy, your Canonical Tags are safe, and Google can properly index your content.

Comments

Popular posts from this blog

How to Set Up Your Blogger About Me or Profile Page — WordsByEkta🌿

Where Is Danielle DiLorenzo from Survivor Now? Here's all you want to know about her — WordsbyEkta🌿

Explore All — WordsByEkta🌿