If you haven’t already, you should really switch to permalinks. /?p= is an unfriendly, unSEO link. Go to your settings –> Permalink and set custom like this /%category%/%postname%/
Okay, so at first glance that seems easy enough right? Well yeah.. Not so much. First of all, I had to enable mod_rewrite in apache. (Remember I’m on a VPS) That wasn’t difficult, you just use the command a2enmod on Ubuntu/Debian systems. Now with that done, I could use the .htaccess file generated by WordPress to serve up the new fancy URLs. Wait.. My old /?p= are not being forwarded to the new fancy urls. Well, a simple plugin called Permalink Redirect solves that issue.
Now comes the real fun. Everytime I go to try and access my stats, I get a 404. The stats folder is clearly there, but I cannot access it. So, I remove the .htaccess on that folder. I can now access it, but it’s no longer password protected
I really wasn’t sure if this was caused by ISPConfig or the .htaccess.
So I searched around for quite some time. The solution is simple, when you go to a password protected area it looks for the 401 and 403 error files first, before giving you a login prompt. With the new rewrite in place, all the errors are now on the WordPress theme. It doesn’t have these errors, so the resulting error is 404 not found.
Anyway, how do you fix this issue? Simple, add the following lines to your .htaccess file in the root directory.
ErrorDocument 401 /[path_to_file]/myerror.html
ErrorDocument 403 /[path_to_file]/myerror.html
That’s it! Problem solved. I can now access my stats directory with the password, and permalinks are working.
Forum
I have Windows XP installed on my D: drive and Windows Vista installed on my C: drive. I’ve edited the cfg files and moved some boot files for XP over to the C: drive, so I could choose between XP and Vista at start. My problem was, I wanted LINUX as well. Apparently I’m behind the times with Linux, because Ubuntu has something called Wubi which was PERFECT for my situation. All I had to do was install Wubi. That’s it, no complex partitioning, no messing with boot loaders, nothing. Easy. I still use the Vista bootloader to either boot XP, Vista, or Ubuntu.
I know a lot of people still run their wireless routers without any encryption whatsoever. You really shouldn’t do this. Why? Well, there are some people that use wireless networks to do malicious things. Maybe they’ll do a little hacking on your network, maybe buy some things with stolen credit cards, the list goes on. People with insecure networks often have the default password on their router, therefore anyone connecting to your access point can access your router! They could also be using packet sniffers sniffing out data you’re putting on the Internet. If you have a bandwidth cap, they’re stealing bandwidth you could be using.