Support » Fixing WordPress » New Blog Post Permalinks Problem: 400 Error

  • ehong33234


    Just installed a fresh wordpress and setup the permalinks structure to


    However, when I try to write a new blog post, it automatically sets the permalink to uncategorized/%post-name%/ and it won’t write in my post title for the post-name no matter what I try. Likewise, when I try to change the category of the post, it has no affect on “uncategorized” in the permalink. So… when I post the blog post and try to click on “view post,” I get a 400 Bad Request nginx error.

    I have tried modifying htaccess and it appears that mod_rewrite is on but still nothing! My htaccess file looks like this:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /web/
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /web/index.php [L]
    # END WordPress

    I can’t for the life of me figure out why the permalink won’t recognize my blog title and category.

    Any help is appreciated, thank you

Viewing 1 replies (of 1 total)
  • ehong33234


    So after searching and taking many troubleshooting steps, I thought about repairing the MySQL database tables. Sure enough, after I did that, the blog posts now have permalinks that match the custom permalink structure I assigned (i.e. blog post title and category).

    I did notice that the permalink when posting a new blog post shows Uncategorized as the default since most likely your settings>writing point to Uncategorized. However, just selecting a new category and saving the post will cause it to save that way in the database, even if it may not change “live” while typing the blog post.

    Hope this helps someone in the future~

Viewing 1 replies (of 1 total)
  • The topic ‘New Blog Post Permalinks Problem: 400 Error’ is closed to new replies.