var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-37302584-1']); _gaq.push(['_trackPageview']);
(function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })();
So I’ve been having all kinds of issues with getting Word-Press “permalinks” working. I could’ve sworn that that I had my “.htaccess” file setup properly, my Word-Press install seemed to be working just fine, and everything else on the server worked. So what to do?
Google.
First off, if you’re like me, you already installed Apache like this:
You should already have Apache’s mod_rewrite installed on your box. If so, it will found in “/usr/lib/apache2/modules”
Now, go into your “mods-enabled” directory and create a rewrite file.
touch rewrite.load
sudo nano rewrite.load
Now paste this following line, then save and close this file:
Now we need to make sure that our Apache config is setup properly:
Find the following:
AllowOverride None
Order allow,deny
allow from all
Now, change the “AllowOverride” from “None” to “ALL”
AllowOverride all
Order allow,deny
allow from all
and finally restart Apache:
Now you can go into your Word-Press Administration area and change your “Permalinks” to be whatever you’d like them to be! 🙂
Enjoy!