Tips and tricks

How to allow wordpress to work on nginx MAMP PRO

You will have to edit the template accessible from the MAMP PRO > File > Edit Template > Nginx

you should add

location /wp { index index.php; try_files $uri $uri/ /wp/index.php?$args; }

under the server which interests you

you can also place it under your location/ for multiple installations

        location / {
            try_files       $uri $uri/ /wptest/index.php?$args /wp2/index.php?$args; }

Leave a comment

Your email address will not be published

{"type":"main_options","images_arr":"'#ffffff'","bg_slideshow_time":"0","site_url":"https:\/\/digitalzoomstudio.net","theme_url":"https:\/\/digitalzoomstudio.net\/wp-content\/themes\/qucreative\/","is_customize_preview":"off","gallery_w_thumbs_autoplay_videos":"off","base_url":"https:\/\/digitalzoomstudio.net"}