• I’m using WordPress with MAMP on my mac server. All is fine as long as I leave the WordPress (default) site URL to “localhost” as installed, but if I change it, WordPress does something behind the scenes which messes up my Mac Server website.

    At this point, even if I change the wordpress setting back to localhost, my server is hosed. WordPress has done … “something”, “somewhere”, and it’s isn’t reversible. At least don’t see how…I can remove WordPress, remove MAMP, remove the WP database, reboot, etc., but something has changed, permanently. Doing an exhaustive GREP search for the changed file or rule doesn’t give me anything either.

    The ONLY solution I’ve found thus far is to restore the server from backup and don’t dare touch the localhost setting.

    What in the heck is WordPress doing when I change that little setting in Settings -> General???

    This is incredible as in frustrating, time consuming, and (fill in the blanks).

    Appreciate any ideas here.

    Thanks,

    • This topic was modified 7 years, 8 months ago by morkus_wp.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Ben

    (@benbornschein)

    If you use MAMP please click on the mamp icon in the top bar and select Log > PHP.

    You should see an entry, why you get a 500 error.

    • This reply was modified 7 years, 8 months ago by Ben.

    https://mallinson.ca/osx-web-development/

    Ditch MAMP and use the MAC’s built in web server.

    Give your website any url you want.

    On my Mac all my development sites are “folderName.dev” in my www folder.

    Thread Starter morkus_wp

    (@morkus_wp)

    I like the idea of ditching MAMP, but I thought I needed it for the correct environment for WordPress and other LAMP CMSs?

    So, if my domain name is https://www.example.com, how would you create a domain, reachable on the Internet for a wordpress site using Mac Server’s Website’s dialog? I tried to create something like “wp.example.com”, but that didn’t work. Set IP address to “Any”, port 80, Anyone can access. (Nothing else configured in Additional Domains, Redirects, or Aliases.)

    This sounds extremely promising as I can’t keep restoring the machine every time WordPress overwrites some file when I change the site URL.

    Look forward to hearing back.

    MAMP is a program that runs the server environment yes, but that server environment is already installed by Apple on EVERY Mac.

    You just have to enable it and install SQL and PHP. The tutorial I posted is very easy to follow.

    On my Macs I have a www folder on my desktop and folders within have WordPress sites. To reach them I go to https://folderName.dev (which is the same as https://localhost/folderName)

    To actually host a live site on your Mac that is reachable from the internet you would need either s Static IP address from your Internet Service Provider
    or
    use a forwarding service like https://www.noip.com/

    good luck!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Change Site URL -> Mac OS Server Websites stop working (500 Errors!)’ is closed to new replies.