Skip to content

Instantly share code, notes, and snippets.

View MillennialDIYer's full-sized avatar

Millennial DIYer MillennialDIYer

View GitHub Profile
@MillennialDIYer
MillennialDIYer / plugin.php
Last active June 17, 2018 16:04
Fallback Domain Redirect with UTM - In Progress
<?php
/*
Plugin Name: Fallback Domain Redirect with UTM
Plugin URI: N/A
Description: This plugin wildcard redirects to a fallback domain in case there isn't a match for your short URL.
This would allow the short domain to be used as an alternative for any existing URL of the fallack domain.
- Does not work installed in a subfolder
Version: 0.4
Author: MVS12
Author URI: https://xyzpolr.tk