• Resolved mattbowlby

    (@mattbowlby)


    I have multiple sites running on a Mac Mini server running OSX Server (El Capitan). I am running WordPress on one site and have not been able to get the permalinks work properly.

    I followed the instructions in this post:
    https://wordpress.org/support/topic/getting-htaccess-working-for-permalinks-on-mac-osx-server?replies=3

    1. I have my web root folder set at /Library/Server/Web/Data/Sites
    2. I created an .htaccess in my websites directory (/Library/Server/Web/Data/Sites/website)
    3. I made sure that the .htaccess file is writable.
    4. When I change the permalink (to format /%postname%/) and hit save, I get a message saying “Permalink structure updated.”
    5. When I save a new page, it appears to give the correct permalink structure (sample-page/)
    6. When I try to open the page, I get a 404 error.

    This is a fresh install of WordPress with no plugins. How do I get this to work properly? I have been struggling with this for a while now.

    Thank you.

Viewing 1 replies (of 1 total)
  • Thread Starter mattbowlby

    (@mattbowlby)

    I have now resolved the issue on my own.

    My research and trial and error discovered an important fact. When using Mac OS X Server (El Capitan), the server app references a different .conf file (/Library/Server/Web/Config/apache2/httpd_server_app.conf). I had to set AllowOverride to All in that file and then restart the server app.

    Everything is working fine now.

Viewing 1 replies (of 1 total)
  • The topic ‘WordPress Permalinks on Mac OSX Server 5 (El Capitan)’ is closed to new replies.