[resolved] Editing templates, Javascript, 403 Forbidden Error (4 posts)

  1. ad1066
    Posted 5 years ago #

    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

  2. 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.

  3. ad1066
    Posted 5 years ago #

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

    -- Ben

  4. You're welcome!

Topic Closed

This topic has been closed to new replies.

About this Topic