.htaccess on a Mac web server
So, my first tech tip of this new blog.
I installed WordPress and customized a theme to match the rest of this site. (I used to do Enchanter.net entirely in hand-written HTML, but then I decided to “get with the times” and try using a template-based site-generation tool to do the work for me. In hindsight, I should have just continued to write the HTML by hand.) Everything went smoothly, but there was one hitch.
WordPress has a “Permalink Settings” page where I can change the URLs of my blog posts from something boring – “https://www.enchanter.net/ao/?p=123
” – to something more trendy like “https://www.enchanter.net/ao/2013/04/sample-post/
“. Problem is, to enable this, I had to either use a .htaccess
file with some rewrite rules in it, or else modify the server’s httpd.conf
with the rewrite rules.
There was much gnashing of teeth as I tried to figure out how to get this to work.
…
.htaccess on a Mac web server Read More »