Skip to content

Instantly share code, notes, and snippets.

@merin83
Last active December 18, 2017 07:35
Show Gist options
  • Select an option

  • Save merin83/1cd1a6eead62d7e9ec60e626d071f582 to your computer and use it in GitHub Desktop.

Select an option

Save merin83/1cd1a6eead62d7e9ec60e626d071f582 to your computer and use it in GitHub Desktop.
Change Mamp Domain name
# From Chrome v63 or above it redirects all the .dev domain in localhost to https and it causes trouble for your local development
here is what i've done for my wordpress development with mamp,
i) first i've change the domain name .dev to .test https://cl.ly/2g0z3H3m3F2d
ii) then i've also change my wordpress installed folder name from .dev to .test https://cl.ly/291d31043K3e
iii) now you have to open your hosts file and there you will find your wordpress site url change the .dev to .test https://cl.ly/213o1O3h4305
iv) finally in your wordpress site database from the database wp_options table cahnge the site url and home url to .test https://cl.ly/3k3v3X0C2K26
in case of multisite make sure your wp_site, wp_blogs url also changed to .test domain
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment