• Resolved ad1066

    (@ad1066)


    Hey all,

    I’m a new user, the blog was pretty easy to set up, but I’m running into a bit of a snag. I’m editing the templates to make the blog fit with the rest of my site, and whenever I add a <script> tag (whether it’s embedded Javascript or a link to a separate file, I’ve tried both), whenever I try to save the template, I get a 403 Forbidden error. Saving the file is no problem otherwise.

    Any advice or suggestions? The online documentation seemed to indicate that JS shouldn’t be a problem.

    — Ben

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    If you’re using the built-in editor at Appearance/Editor, you may be encountering a server-side security script (probably mod_security) that is preventing <script> tags from being injected into files via PHP. It’s certainly a bit overkill, but it is a security measure nonetheless.

    You may want to contact your hosting provider or use an FTP client and a plain text editor to edit the file.

    Thread Starter ad1066

    (@ad1066)

    Woo hoo! That’s got it working, thanks !

    — Ben

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    You’re welcome!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Editing templates, Javascript, 403 Forbidden Error’ is closed to new replies.