![]() ![]() Here are my step-by-step instructions to get pretty URLs when using MAMP! ![]() I did a bunch of research to finally fix this problem to get a clean local development URL of this format: mysite.local So, I figured that a simple entry in my hosts file would fix it, but I discovered that hosts files can’t handle port numbers or subdirectories. ![]() Also, it was kind of ugly, but this was just for development, so who cares, right?īut, I recently wanted to copy a WordPress Multisite install to my local computer and wasn’t able to get it to work with this URL format. Occasionally, I’d have a problem when a site used root-relative links, but I just lived with that. That was fine for most of my local sites. When I started using MAMP for local website development, my local URLs were of this form: 127.0.0.1:8888/ If you want to keep struggling with MAMP (like I did for a long time), keep reading: The Original Article I’ve kept the article below for those still using MAMP, but rather than messing with these settings, I’d recommend that you check out LocalWP. Note, since writing this article, I have switched to LocalWP, which is superior to MAMP in practically every way and has clean URLs from the get-go. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |