{"id":292,"date":"2014-02-06T11:15:13","date_gmt":"2014-02-06T18:15:13","guid":{"rendered":"http:\/\/goblinpeasant.com\/blog\/?p=292"},"modified":"2014-02-06T11:15:13","modified_gmt":"2014-02-06T18:15:13","slug":"wordpress-pretty-links","status":"publish","type":"post","link":"https:\/\/goblinpeasant.com\/blog\/wordpress-pretty-links\/","title":{"rendered":"WordPress Pretty Links"},"content":{"rendered":"<p>I had a heck of a time getting this to work, and this is just as much for my notes as it is for the wider web world&#8217;s usage.<\/p>\n<p>To use the pretty links of WordPress, I had to enable mod_rewrite in Apache. \u00a0Which was actually already enabled with my default installation.<\/p>\n<p>I was using virtual hosts in the <em>\/etc\/httpd\/conf.d<\/em> directory, so I made sure that the &lt;Directory&gt; configuration included these lines:<\/p>\n<blockquote><p><em>AllowOverride All<\/em><br \/>\n<em> Order allow,deny<\/em><br \/>\n<em> Allow from all<\/em><\/p><\/blockquote>\n<p>Also I made sure that that virtual host itself had these options set:<\/p>\n<blockquote><p><em>Options Includes MultiViews -Indexes FollowSymLinks SymLinksIfOwnerMatch<\/em><\/p><\/blockquote>\n<p>But to my deepest chagrin, it still wasn&#8217;t working. \u00a0After laying my head down on my desk and allowing the tears to flow like a mountain spring, I girded up my loins and looked again.<\/p>\n<p>In Apache&#8217;s main config file,\u00a0<em>\/etc\/httpd\/conf\/httpd.conf\u00a0<\/em>\u00a0I found an <em>AllowOverride \u00a0None<\/em> line! \u00a0NO! \u00a0I was beat by my own laziness and ignorance again. \u00a0I commented out that line, and pretty links suddenly worked.<\/p>\n<p>Learn from my mistakes, Future Dewey\/World at Large. \u00a0Don&#8217;t let it fool you again.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I had a heck of a time getting this to work, and this is just as much for my notes as it is for the wider web world&#8217;s usage. To use the pretty links of WordPress, I had to enable mod_rewrite in Apache. \u00a0Which was actually already enabled with my default installation. I was using [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":33,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,5],"tags":[],"class_list":["post-292","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-status-of-the-blog","category-website-admin"],"_links":{"self":[{"href":"https:\/\/goblinpeasant.com\/blog\/wp-json\/wp\/v2\/posts\/292","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/goblinpeasant.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/goblinpeasant.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/goblinpeasant.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/goblinpeasant.com\/blog\/wp-json\/wp\/v2\/comments?post=292"}],"version-history":[{"count":0,"href":"https:\/\/goblinpeasant.com\/blog\/wp-json\/wp\/v2\/posts\/292\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/goblinpeasant.com\/blog\/wp-json\/wp\/v2\/media\/33"}],"wp:attachment":[{"href":"https:\/\/goblinpeasant.com\/blog\/wp-json\/wp\/v2\/media?parent=292"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/goblinpeasant.com\/blog\/wp-json\/wp\/v2\/categories?post=292"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/goblinpeasant.com\/blog\/wp-json\/wp\/v2\/tags?post=292"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}