• I am using MAMP to develop a WordPress site locally. When I try to use VirtualHostX to allow my client to see the site “live” they get a “site map” framework looking page, but none of the images and css. Turns out the URLs to the images and css are generated “on the fly” so I can’t dig into the HTML and modify them, and it looks like they’re maybe generated between MAMP and WordPress. They are all full absolute URLs that read like this:
    http://localhost:8888/wp-content/themes … /style.css
    and when using a virtual host I need the URL to read something like /wp-content/themes/twentyeleven-child/style.css without the localhost:8888 stuff.

    Does anyone know how to solve this problem? Please?

Viewing 2 replies - 1 through 2 (of 2 total)
  • not sure, no experience with VirtualHostX, but i dont think you can have both localhost and the virtual url, its either one or the other i would think. So would changing the WordPress address (URL) and Site address (URL) in Dashboard/Settings/General be a possible solution?

    Thread Starter monahowell

    (@monahowell)

    I just don’t know. I don’t know what I would type for the two URLs. I’m still on the trailing edge of this technology, to say the least. It’s such a cool set up for a virtual host if only I could figure out how to use it.

    I’ve been taking with the developer who has been super helpful, but he doesn’t know much about the WordPress set-up.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Using MAMP, WordPress and VirtualHostX – URL problem’ is closed to new replies.