How To Fix The 500 Error With Permalinks In WordPress on a Subdomain Using Apache

Hi Everyone,

just a quick follow up on my last post.  I have another WordPress install that’s hosed in a subdomain that was having issues with custom Permalinks.  And after a couple hours of guessing – I figured it out.

In your VirtualHost file (the file that should be titled “yourdomain.com” or whatever you have instead of .com) located in /etc/apache2/sites-available/, you need to make a NEW entry with the following:


<Directory /var/www/YOURDOMAIN/public_html/THE_SUBDOMAIN_WORDPRESS_IS_INSTALLED_IN>
AllowOverride All
</Directory>

Then save, and reboot Apache by typing the following in terminal/ssh:
/etc/init.d/apache2 restart

That should fix it!

One Comment

Leave a Reply