{"id":53,"date":"2006-03-16T05:34:55","date_gmt":"2006-03-16T00:04:55","guid":{"rendered":"http:\/\/ramfree17.org\/capsule\/?p=53"},"modified":"2006-03-16T05:34:55","modified_gmt":"2006-03-16T00:04:55","slug":"wordpress-write-functions-resulting-to-a-404-page-not-found-error","status":"publish","type":"post","link":"https:\/\/ramfree17.net\/capsule\/?p=53","title":{"rendered":"WordPress write functions resulting to a 404 (page not found) error"},"content":{"rendered":"<p>This week I encountered an error when writing the <a href=\"http:\/\/ramfree17.org\/capsule\/?p=52\"><span>wget<\/span> post<\/a> since saving or publishing it causes a page not found (or 404 in techie parlance)  error. I found this <a href=\"http:\/\/wordpress.org\/support\/topic\/61431\">thread<\/a> in the wordpress support forum and tested the &#8220;limit&#8221; scenarios which did not fully apply in my case.  Posting a short test message works but somehow even one paragraph from my <span>wget<\/span> post causes the 404 message.<\/p>\n<p>Later on the support thread I read a mod_security issue that causes in the post with the word <span>curl<\/span> in the post. That hit me, <span>curl<\/span> is a download utility similar to <span>wget<\/span>!!! Just like in the post, I just enclosed <span>wget<\/span> in span element and voila, problem solved!<\/p>\n<p>+1 karma for internet support groups!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This week I encountered an error when writing the wget post since saving or publishing it causes a page not found (or 404 in techie parlance) error. I found this thread in the wordpress support forum and tested the &#8220;limit&#8221; scenarios which did not fully apply in my case. Posting a short test message works [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,6],"tags":[50,139],"class_list":["post-53","post","type-post","status-publish","format-standard","hentry","category-floss","category-technology","tag-floss-2","tag-tech"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/ramfree17.net\/capsule\/index.php?rest_route=\/wp\/v2\/posts\/53","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ramfree17.net\/capsule\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ramfree17.net\/capsule\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ramfree17.net\/capsule\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ramfree17.net\/capsule\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=53"}],"version-history":[{"count":0,"href":"https:\/\/ramfree17.net\/capsule\/index.php?rest_route=\/wp\/v2\/posts\/53\/revisions"}],"wp:attachment":[{"href":"https:\/\/ramfree17.net\/capsule\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=53"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ramfree17.net\/capsule\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=53"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ramfree17.net\/capsule\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=53"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}