MAMP + WordPress + xip.io: cannot get linked assets to load

I managed to get Mamp Pro virtual host domains (example: http://mysite.dev) working with some help from the stackoverflow link above ( http://stackoverflow.com/questions/11546356/xip-io-with-mamp-pro-doesnt-work ), however I still cannot get things to work properly with local WordPress installs.  I get the same old issue of content loading, but linked assets (CSS, JS, images, etc) do not load. When I used to use http://localhost/ urls I got the same issue unless I set each WordPress install to use the machine’s IP address, which was annoying when working from different locations.  Now that I’ve set up virtual hosts and am using .dev domains, which I really like for a variety of reasons, I’m back to square 1, where Edge Inspect becomes useless.

Hi Gabe, the heart of this issue is caused by a feature of Wordpress, not because of some issue with Edge Inspect. For some reason Wordpress refers refers to all linked assets with a full URL rather than a relative URL, and that causes a variety of problems including the one you're seeing.
You should be able to work around this. It's not clear to me from your message above where you are in the process, so I'll just try to cover all the steps in a general way. Plus, this may help others trying to do the same thing:
Your basic first step is that you have to get virtual hosts working in MAMP. That means, if you've setup actualgabe.dev as a virtual host, that without Edge Inspect or xip.io you should be able to type in (for example) http://actualgabe.dev/index.html into your browser and view a simple web page running on your machine.
You've got to get Wordpress working with that virtual domain you've got set up. That means that all of the assets that Wordpress is referring to with a full URL should properly reference back to your machine and be viewable in your browser. Since Wordpress may refer to those assets with a localhost URL, you'll have to inspect the page to ensure that Wordpress is actually referencing the assets with your actualgabe.dev virtual host definition.
Now make sure that MAMP, Wordpress, and xip.io all function correctly together without Edge Inspect involved. Assuming that you've got the actualgabe.dev virtual host configured as in steps one and two, then go ahead and take one of your devices and type in a URL of http://actualgabe.dev.<YOUR_MACHINE_IP_ADDRESS>.xip.io/index.html. So if the IP address of the computer you're hosting the site from is 10.0.0.1, you'd enter http://actualgabe.dev.10.0.0.1.xip.io/index.html. You should be able to see your local Wordpress site from your computer with all of it's associated local assets.
Once you have those previous 3 steps working and fully tested, you should be able to start Edge Inspect, connect your devices up, and use that same URL from step 3 (e.g. http://actualgabe.dev.10.0.0.1.xip.io/index.html) in Chrome and see your Wordpress page and all of its assets.
Let me know if you have any questions,
Mark

Similar Messages

  • Hi. I have a MacBook Pro with OS10.6.8 and cannot get net pages to load on my network at home. I can connect to the internet in work and on other networks. However, some other networks are now starting to fail. Can anyone suggets how I can fix it??

    Hi. I have a MacBook Pro with OS10.6.8 and cannot get internet pages to load on my WiFi network at home. My iMac, iPhone and iPad all work on this network.  It is connected to the net as dropbox registers a connection and so does skype. I can connect to the WiFi in work and on other networks when travelling. However, some other networks are now starting to fail. Can anyone suggets how I can fix it, as the MBP appears to be fine, its updated with all the latest versions of software and the WiFi network is also fine....just not with my MBP??

    Hi. I have a MacBook Pro with OS10.6.8 and cannot get internet pages to load on my WiFi network at home. My iMac, iPhone and iPad all work on this network.  It is connected to the net as dropbox registers a connection and so does skype. I can connect to the WiFi in work and on other networks when travelling. However, some other networks are now starting to fail. Can anyone suggets how I can fix it, as the MBP appears to be fine, its updated with all the latest versions of software and the WiFi network is also fine....just not with my MBP??

  • HT4759 i cannot get the icloud to load any of my apps.  What is wrong tonight?  It worked fine earlier and yesterday.

    I cannot get the icloud to load any of the apps.  It worked fine earlier today and yesterday.  What is wrong?

    You said:
    "whatever is attached to usb port is not recognized and there are no drivers."
    This imples that your computer does not see any device, not just the iPod when it is connected ot a USB port.  This points to a major problem with Windows or a hardware problem. Use the WIndow's troubleshooting to get the USB ports to work.

  • I just purchased ExportPDF and I cannot get the website to load

    I just purchased ExportPDF and I cannot get the website to load on my computer to sign in.  I tried to export a PDF to convert from the program on my computer and get the "An error occurred while signing in" message.  The tab for the website is the only Adobe page I cannot load.

    Thank you so much for the help.  I had to enter my complete email address using me.com added to my sign in name and then after I got to the next page to enter the settings, I changed the address to not include the me.com information.  From there everything went through just fine.  This ended about a week of frustration trying with many folks at the Verizon Store to help me.  I'm so grateful for your help.
    Jim

  • HT2518 Cannot get Migration Assistant to load on PC - keeps saying "repair"

    In trying to set up a migration from PC to Mac I cannot get Migration Assistant to load on the PC (XP).  It keeps saying I have to repair the MA and try again.  I have tried everything I can think of: clear caches, delete and reload MA, shut down virus software and firewall, reboot, etc.  Any ideas or direction would be appreciated.  Thank you.

    Have you looked at these directions?
    http://support.apple.com/en-us/HT4796
    Ciao.

  • Cannot get turbotax 2013 to load (my operating system is snow leopard, 64bit)

    Cannot get turbotax 2013 to load (my operating system is snow leopard, 64bit) Disk at first sounds like it is loading, then kind of grinds around and comes to a stop. Installed apple software updates for itunes, just before trying to load turbotax, could that have any effect on my disc drive?

    put in another cd/dvd and see if it makes the same noise.  if so, your superdrive may be damaged.

  • Cannot get English dictionary to load. Keeps defaulting to American

    Cannot get English dictionary to load. Keeps default American dictionary although everything says it is English????

    Use the CC Cleaner Tools to uninstall.  Then re-install CS6.
    http://helpx.adobe.com/creative-suite/kb/cs5-cleaner-tool-installation-problems.html
    Nancy O.

  • I cannot get photo selections to load into slide show

    I cannot get my downloaded photos to load into a slide show.  Any suggestions?

    Unfortunately Target has not yet been updated to include Passbook integration.  Once they do (and the App is linked to Passbook) I imagine that is when you will see the Loyalty cards show up or any coupons etc appearing in there.
    The full list of Apps that work with Passbook are:
    As of Wednesday afternoon, the full list of highlighted Passbook applications on the App Store includes:
    Fandango Movies — Times & Tickets
    Live Nation
    Lufthansa
    MLB.com At Bat
    Sephora to Go
    Ticketmaster
    Walgreens
    That means only these 7 apps currently are working with Passbook integration.  Within the Live Nation App, in the settings or account, there should be an option to link with Passbook.  If you don't see it, either you haven't updated it yet, or you have no tickets purchased for upcoming events that would show up in there.
    These links have some usefull information:
    http://appleinsider.com/articles/12/09/19/list_of_passbook_supported_apps_appear s_in_ios_6_app_store
    http://www.tuaw.com/2012/09/20/passbook-is-failing-to-live-up-to-expectations/

  • I rec'd a Mac Pro for my school from the "Computers for Learning" program. The hard drive had been removed. I ordered a new hard drive (1TB) and cannot get OSX Mavericks to load. I also cannot partion the disk on disk utility from my Macbook Pro.

    I received an Mac Pro (2007). It was shipped without a hard drive. I ordered a hard drive, 1TB Barracuda Sata but cannot get it to partition. I have OSX Mavericks on a USB drive. Help?

    Notr I edited my previous reply to say you also have to upgrade the video card
    https://discussions.apple.com/thread/5827271
    https://discussions.apple.com/docs/DOC-6592
    "OS X Mavericks on an Original Mac Pro", FairerPlatform, October 14, 2013
    Jump up^ "Mac Pro review, 9 out of 10". Ars Technica.

  • Cannot Get iTunes Homepage to load

    I am running Windows 7 and the latest version of iTunes. When it tries to load, I only get a blank screen with iTunes Store in the middle. No homepage. I have tried the "fixes" on the website, which is what the support folks referenced me to. I still cannot get iTunes homepage to appear. If anyone has any ideas I am open. I have used iTunes on this computer before.

    I think I have the same problem. I can access the itunes store, youtube etc from the apple tv, I can play items on my playlist on the apple tv by switching to apple tv speakers on the bottom of my itunes page. But when it comes to loading my library the wheel just keeps on turning. There does seem to be a connection to my itunes as changes to my library name in itunes is reflected on the apple tv under "Computers"
    I am not sure that this has anything to do with it, but I do not have a "SHARED" library in itunes even though my Home Sharing is switched on, which is verified by the fact that I can see my library name and play music on the apple tv.

  • Cannot get PDF files to load on the iPad Mini from iTunes!

    Cannot get PDF to load on the iPad Mini through iTunes (latest version).   I could easily do this on the iPod Touch.   So what is missing?

    I solved my problem.  It turns out the default in iTunes is NO Sync for books or podcasts.  Once I turned that on I had success.   That wording should be included in the explanation on how to transfer PDF files to the iPad.

  • HT5704 I cannot get the update to load to my Iphone 3gs states "32 hours remaining"

    I cannot get my update iOS 6.1.3. tonload on my iphone 3gs  .. what do  do next?????

    This post helped no end...
    https://discussions.apple.com/message/16384453#16384453

  • Cannot get iTunes library to load???

    Help! For whatever reason, I cannot get my new apple tv to access my iTunes library. I followed all instructions and had no problem accessing netflix. Just can't seem to get my library up. Any ideas?

    I think I have the same problem. I can access the itunes store, youtube etc from the apple tv, I can play items on my playlist on the apple tv by switching to apple tv speakers on the bottom of my itunes page. But when it comes to loading my library the wheel just keeps on turning. There does seem to be a connection to my itunes as changes to my library name in itunes is reflected on the apple tv under "Computers"
    I am not sure that this has anything to do with it, but I do not have a "SHARED" library in itunes even though my Home Sharing is switched on, which is verified by the fact that I can see my library name and play music on the apple tv.

  • I cannot get pogo games to load

    I need help getting pogo games to load. I am allowing pop ups but the game rooms still will not load.
    I have the latest Java updates and Apple updates on my mac.

    Go to Applications > Utilities > Java Preferences
    1) Click the "Enable applet plug-in and Web Start applications" box
    2) Click the "Advanced" tab and click the "Hide Console" box (Turns on the Java console without display it)
    For future reference, these forums have a powerful search function.  I found the answer by searching Pogo Java.  You could have done the same.  Second, this is a forum for the MacBook Pro Hardware.  Please place future questions in the appropriate forum.

  • Cannot get link for contact to work.  Rescue email address is no longer valid and I cannot remember my security questions to update it

    I cannot make any more iTunes or Apps purchases because I cannot remember my security questions.  I have read online that you cannot update rescue email address (mine is no longer valid) until you answer the security questions.  I have clicked on the link for support on account management but it never opens.  I am very upset because all I am needing to do is make purchases.  Any ideas or numbers or actual links you can post in response is appreciated.

    Click here and find the phone number for your country.
    (78231)

Maybe you are looking for

  • The disk is locked when I tried to download Mountain Lion

    I have macbook air which is less than one year old. So few days ago, I turned on the computer and there is this flashing folder with a question mark on it. Went to the service centre, and they concluded that everything is okay except that there is a

  • My security question answers don't work, how do I change them?

    I have 4 computers synced to my iTunes account.  It asks me security questions to which I know the answers, but every time I put them in, they are incorrect.  I obviously have 2 computers that work perfectly to download, purchase, make CD's etc.  But

  • Using iPhone in Africa

    How can I use my iPhone 5s in Kenya, Tanzania and Ghana. these countries aren't listed in the international data plan

  • Envelope issue

    Hi I'm trying to make an envelope with 200 rows by 200 columns but without success. I can make an envelope with 180 rows and 180 columns and the result is available in less twenty seconds. and if I try 183 by 183 it doesn't work. I suspect that there

  • Reverse-Engineer Teradata ETL?

    Is it possible to take hand-cranked Teradata ETL and migrate to ODI as if each app had been created with ODI in the first place? I don't think so, but you never know! Thanks, Paul Johnson [VLDB Solutions Ltd|http://www.vldbsolutions.com]