• Resolved Tony

    (@tdinatale)


    We are using the Domain Mapping plugin with WP and your YOURLS plugin. We have our admin panel on a different domain than the public blog domain for load balancing purposes. Therefore, we need a way to hook into your core code without editing it directly so that we can add something like the following:

    if (function_exists(domain_mapping_siteurl) {
          //the domain mapping plugin is installed
          $post_url = str_replace(get_original_url( 'siteurl'),domain_mapping_siteurl(false), $post_url);
    }

    To override yourls-link-creator.php line 310
    $post_url = get_permalink($postID);

Viewing 1 replies (of 1 total)
  • Plugin Author Andrew Norcross

    (@norcross)

    I’m not familiar with this plugin in that capacity. whether or not the domains are mapped, the permalink should still be the same, right? what URL is it sending to YOURLS?

Viewing 1 replies (of 1 total)
  • The topic ‘Domain Mapping with YOURLS’ is closed to new replies.