WordPress.org

Support

Support » Plugins and Hacks » WP Tweet Button » Specify different URL

Specify different URL

Viewing 1 replies (of 1 total)
  • Plugin Author Tanin

    @0xtc

    If you used to use a URL shortener, those old short urls will remain the same (unless you manually clear the shorturl cache).

    But I’m afraid you can’t change the domain without some modification to the tw_get_long_url function. You’d have to copy this line:

    $perms= esc_url('http://' . $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI']);

    and paste before this line:

    if (is_object($my_transposh_plugin) && $addlang){

    and change

    change $_SERVER['SERVER_NAME']

    to

    'blog.domain.com'

    Tanin

Viewing 1 replies (of 1 total)
  • The topic ‘Specify different URL’ is closed to new replies.
Skip to toolbar