Giter Club home page Giter Club logo

virtualhostx-wordpress-plugin's Introduction

VirtualHostX WordPress Plugin

VirtualHostX is an easy-to-install local server environment for macOS. You can build and test web apps like WordPress or even host a production web server on your Mac.

One feature of VHX is sharing your websites across your local network to other computers and mobile devices and also using ngrok to share them publicly across the internet.

A huge percentage of my customers use VHX to build, test, and host WordPress websites. And because of the way WordPress handles URLs to static assets, when you attempt to view your website over a shared VHX connection, all of your images, stylesheets, and other static assets will break because the "fake" domian name that WordPress was initally installed on doesn't really exist outside your local Mac.

This plugin fixes the domain name for static assets to work no matter how you access the website. I've attempted to cover all replacement cases in my testing, but if you find any of your website files are still pointing to the original domain name, please let me know or feel free to submit a pull request.

Installation

  1. Download the latest release.
  2. Unzip it.
  3. Copy the virtualhostx folder into your website's wp-content/plugins/ folder.
  4. Go to your WordPress Admin site and activate the VirtualHostX Shared Websites plugin.
  5. There are no other options or settings to configure.

virtualhostx-wordpress-plugin's People

Contributors

tylerhall avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.