Title: Cannot post XML CDATA
Last modified: September 1, 2016

---

# Cannot post XML CDATA

 *  Resolved [dandago](https://wordpress.org/support/users/dandago/)
 * (@dandago)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/cannot-post-xml-cdata/)
 * I run a blog for developers. Today I had an issue with WordPress redirecting 
   to the homepage whenever I tried to post something. Following advice on other
   threads, I tried disabling themes, plugins, permalink settings, etc until I narrowed
   it down to a piece of XML CData which WordPress apparently doesn’t like (note
   that I’m using SyntaxHighlighter Evolved):
 *     ```
       [xml highlight="8-18"]
         <akka>
           <hocon>
             <![CDATA[
               akka
               {
                 loglevel = DEBUG
   
                 actor
                 {
                   debug
                   {
                     receive = on      # log any received message
                     autoreceive = on  # log automatically received messages, e.g. PoisonPill
                     lifecycle = on    # log actor lifecycle changes
                     event-stream = on # log subscription changes for Akka.NET event stream
                     unhandled = on    # log unhandled messages sent to actors
                   }
                 }
               }
             ]]>
           </hocon>
         </akka>
       [/xml]
       ```
   
 * Removing the CDATA section, the post goes through without any problems.
 * Why is WordPress preventing me from posting this, and is there any workaround
   to go ahead and post it anyway?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [9 years, 10 months ago](https://wordpress.org/support/topic/cannot-post-xml-cdata/#post-7559910)
 * You might try posting the issue here
 * [https://wordpress.org/support/plugin/syntaxhighlighter](https://wordpress.org/support/plugin/syntaxhighlighter)
 * if it’s related to that plugin.
 *  Thread Starter [dandago](https://wordpress.org/support/users/dandago/)
 * (@dandago)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/cannot-post-xml-cdata/#post-7559911)
 * No, it’s not… I merely mentioned it so people could understand the [xml] tags.
 * I figured it out… CDATA was being filtered by the web application firewall on
   the server.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Cannot post XML CDATA’ is closed to new replies.

## Tags

 * [-posting](https://wordpress.org/support/topic-tag/posting/)
 * [cdata](https://wordpress.org/support/topic-tag/cdata/)
 * [redirect](https://wordpress.org/support/topic-tag/redirect/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [dandago](https://wordpress.org/support/users/dandago/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/cannot-post-xml-cdata/#post-7559911)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
