Skip to content
UFO Performance Marketing

Where intelligence is put to the test.

HomeServicesOur WorkBlogAboutContact Us
MenuClose

Explore UFO

HomeServicesOur WorkBlogAboutContact Us

Where intelligence is put to the test.

WordPress · Oct 16, 2014

Wordpress Errors - Save / Publish Post, Get 404 Error

Wordpress Errors - Save / Publish Post, Get 404 Error
JC
John Crenshaw
Oct 16, 2014

Mother of God I just spent hours trying to figure out why I couldn't publish a post I was writing…I kept getting a 404 error every time I tried to save or publish the post. So, I searched all over the place for an answer but to no avail. I poured through my server logs to find traces of a hacker, but again, no luck. Finally, I realized what it was…

While writing another post about the solution to another error in WordPress, I referenced the htaccess file, but with a period in front. Apparently mod_security has some sort of problem with that and wouldn't budget, so I had to leave out the period.

If you absolutely must include "htaccess," but starting with a period, in your post, I think they solved the problem by turning off mod_security here, although I don't think that's the smartest thing you can do.

WordPress

Get the latest from UFO

Keep reading

More from the blog

All Posts →
Wordpress $post Object Quick Reference
WordPress

Wordpress $post Object Quick Reference

This quick reference / cheatsheet is for the WordPress $post object. This object contains a bunch of info specific to each WordPress post. Scroll down for the complete table of object properties.

John Crenshaw · May 15, 2015
Updated: WordPress $post Object Quick Reference
WordPress

Updated: WordPress $post Object Quick Reference

Looking for a cheatsheet for the contents of WordPress' $post object? I just updated a reference I posted a while back.

John Crenshaw · Oct 16, 2014
Get Images Attached to a Post
WordPress

Get Images Attached to a Post

Ever wonder how to pull the images attached to a WordPress post, to display as thumbnails on your homepage for instance? Here's a fairly simple way to get it done.

John Crenshaw · Oct 16, 2014

Want results like these?

Let's talk about where you are, where you want to go, and the smartest way to get there.

Contact Us
UFO

Where intelligence is put to the test.

  • Home
  • Services
  • Our Work
  • Cool People Saying Smart Things
  • About
  • Partners
  • Testimonials
  • Blog
  • Marketing Library
  • Agency Guides
  • Careers
  • Contact Us

Offices

  • Cincinnati, OH
  • Columbus, OH
  • Portland, OR
  • (513) 549-7355
Contact Us
Google 5.0 five star rating Google Ads Premier Partner 2026
© Copyright 2026 UFO Marketing. All rights reserved. Privacy Policy | Terms of Use