Viewing MAMP Pro site on iPad

后端 未结 1 541
太阳男子
太阳男子 2021-01-25 09:57

I\'ve just started using the paid version of MAMP, MAMP Pro, and I\'m having some trouble accessing my site via my iPad/iPhone.

I\'ve got my MAMP server set up with the

相关标签:
1条回答
  • 2021-01-25 10:23

    Use a xip.io address.

    Select your host in MAMP PRO (client.dev in this example), go to the Advanced tab and put this in the Customized General Settings: ServerAlias client.*.xip.io

    Set WP URLs to http://client.YOUR-LOCALHOST-IP-ADDRESS.xip.io.

    For development, it's better to set a static IP DHCP address in your system preferences.

    Restart everything, run!

    I've answered the same a bit more in-depth in WordPress Answers.

    0 讨论(0)
提交回复
热议问题