I had a hard time figuring out how to get the pretty url permalinks working for WordPress on WestHost, but I finally found the solution. It was weird at first because WordPress actually was writing to the .htaccess file correctly, but when I tried it out in a browser I was still getting 404′s. After a long extensive search on the WordPress website, I finally found that I had to add the following to my httpd.conf file:

  1. <Directory /var/www/html/wordpress>
  2.     Options FollowSymLinks
  3.     AllowOverride all
  4. </Directory>
<Directory /var/www/html/wordpress>
    Options FollowSymLinks
    AllowOverride all
</Directory>

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code lang=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" extra="">