title: Wordpress Add/Edit Post Redirects to home page
body: <p>I am getting redirected to home page when creating or editing post in wordpress. When I click on publish button it always redirects to home page and post is not created. </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;hr&gt;
    &lt;p&gt;some text.&lt;/p&gt;
  &lt;hr&gt;
  
  &lt;h2&gt;Heading&lt;/h2&gt;
  
  &lt;p&gt;test para 1 - &lt;/p&gt;
  
  &lt;p&gt;test para 2 Go to - &lt;strong&gt;Setting&lt;/strong&gt; &lt;/p&gt;
  &lt;p&gt;test para 3 - &lt;/p&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>I am not able to save this post but if I post simple text without html tags it saves properly.</p>