Why I Can't Put Ad Code on My Blog?
Hello WA folks,
I need help with my blog. When I paste a code in header.php which should display ads on my blog I get an error you can see on the image below.
Can anyone tell me what should I do to fix that? Why it won't update the file when I paste ad code?
You can open it in a new tab to zoom the image.
Thank you in advance
Recent Comments
8
If I remember correctly, you need to as Site Support to unblock it for you. WA does this to protect you, but if you need to edit those files, you obviously need them to unlock it.
I may be wrong, but I believe asking Site Support would definitely point you in the right direction!
- Stefan
Hi,
I don't know why is this happening. Updating your theme files live isn't usually a problem.
However, maybe some plugin is protecting users from editing the theme - or the theme itself comes with some security option.
You can log into the Cpanel of your site, using the credentials provided by your hosting. In there, you can find the header.php file, download it, open it & paste the code, and upload it again to the site's files.
It can be a lot of work but maybe check documents received along with the theme to see if there's a quick way to disable this security feature.
I hope this helps!
See more comments
Yes, contact SiteSupport and they will get you sorted right away.
https://my.wealthyaffiliate.com/websites/support
Thanks, Kyle! I contacted them! :)